I wrote some code to limit classes per team. -1 means there are no limits on the class.
setdvar("gm_class_limits_assault", -1);
setdvar("gm_class_limits_smg", -1);
setdvar("gm_class_limits_lmg", -1);
setdvar("gm_class_limits_shotgun", -1);
setdvar("gm_class_limits_sniper", -1);
I eventually want to do the same thing on a per weapon basis. So you could say limit the SMG class to 3 per team, but force a limit on the ak74u to 1 per team.
No comments:
Post a Comment