How do i make it so that one team can use a command example:
Code:
doAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentweapon = self GetCurrentWeapon();
if ( currentweapon != "none" ) {
self setWeaponAmmoStock( currentweapon, 080995 ); }
wait 0.05;
}
}
While the other one cant? Cause ive found some codes but they are for the nohope zombie mod v2.3 i believe. here are the codes.
Code:
if((!self.pers["team"] == "allies") && (!level.Zombie == self) && (!self.Zombie))
self notify("menuresponse", game["menu_team"], "allies");
I want to have unlimited ammo while im playing in the allies and not have unlimited while im playing in the axis team.
Im sorry if ive done something wrong here.. im sort of a noob lol.