
-- function CAKE.AddTeam(name, color, defaultmodel, defaultmodelpath, partialmodel, weapons, ammo, flagkey, doorgroup, canbroadcast, public, salary, business, radiogroup, id)
-- name (string) - The name of the team
-- color (color) - The COLOR of a team. The syntax is Color(red, green, blue, alpha)
-- defaultmodel (boolean) - This determines whether or not the flag will have it's own model, or will use the citizen model.
-- defaultmodelpath (string) - This is the path to the model you want to use. (ex. models/police.mdl)
-- partialmodel (boolean) - This enables 'partial model' which will take the suffix of the citizen model (ex. male_07.mdl) and put it at the end of the defaultmodelpath (So a models/mobileinfantry/mi_07.mdl with a path of models/humans/Group03/ would become models/humans/Group03/male_07.mdl) This only works with HUMANS models
-- weapons (table) - these are the weapons that will be given to a player. hands and physics gun are automatically given.
-- ammo (table) - not functional, but this would give a player certain ammotypes.
-- flagkey (string) - this is the key of the flag, which is used in rp_setflags and rp_flag
-- doorgroup (table) - these are the groups of doors that this team can open
-- canbroadcast (boolean) - This enables or disables the /bc chat command (Generally used for combine)
-- public (boolean) - This allows the flag to be publically selected without needing an rp_setflags
-- salary (integer) - This is the amount of money the player gets every 20 minutes.
-- business (boolean) - This enables or disables access to the Business tab.
-- radiogroup (table) - These are the groups of radio 'frequencies' that the flag can communicate on. Multiple flags sharing a radiogroup can talk to eachother.
-- id (integer) - This enables you to manually set the ID of the team, but is NOT required and should generally not be used.


-- IMPORTANT -- Doorgroup 0 is reserved for all ungrouped doors.
PLUGIN.Name = "RTRP"

if(SERVER) then
CAKE.AddTeam("IRIA Infantry", Color( 255, 0, 0, 255 ), false, "", false, {"weapon_ak47", "weapon_pumpshotgun"}, {}, "iria", {1}, true, false, 1000, false, {1});
CAKE.AddTeam("IRIA Command", Color( 217, 0, 0, 255 ), false, "", false, {"weapon_ak47", "weapon_pumpshotgun"}, {}, "iria2", {1}, true, false, 1000, true, {1});

CAKE.AddModels({"models/humans/group01/male_01.mdl",
              "models/humans/group01/male_02.mdl",
              "models/humans/group01/male_03.mdl",
              "models/humans/group01/male_04.mdl",
              "models/humans/group01/male_06.mdl",
              "models/humans/group01/male_07.mdl",
              "models/humans/group01/male_08.mdl",
              "models/humans/group01/male_09.mdl",
              "models/humans/group02/male_01.mdl",
              "models/humans/group02/male_02.mdl",
              "models/humans/group02/male_03.mdl",
              "models/humans/group02/male_04.mdl",
              "models/humans/group02/male_06.mdl",
              "models/humans/group02/male_07.mdl",
              "models/humans/group02/male_08.mdl",
              "models/humans/group02/male_09.mdl",

              "models/humans/group01/female_01.mdl",
              "models/humans/group01/female_02.mdl",
              "models/humans/group01/female_03.mdl",
              "models/humans/group01/female_04.mdl",
              "models/humans/group01/female_06.mdl",
              "models/humans/group01/female_07.mdl",
              "models/humans/group02/female_01.mdl",
              "models/humans/group02/female_02.mdl",
              "models/humans/group02/female_03.mdl",
              "models/humans/group02/female_04.mdl",
              "models/humans/group02/female_06.mdl",
              "models/humans/group02/female_07.mdl"});
end