10-03-2012, 12:26
Hello,
For some time I make a mod on black ops. but I have a problem with this script.
If someone could tell me where the problem is. (after the console is a problem with else if (self.team == allies))
Thanks,
Elite killer
For some time I make a mod on black ops. but I have a problem with this script.
Code:
Team()
{
else if (self.team == allies)
{
self takeallweapons();
self giveWeapon("ray_gun_zm");
self giveWeapon("molotov_sp");
}
else if(self.team == axis)
{
self takeallweapons();
self giveWeapon("freezegun_zm");
}
}
If someone could tell me where the problem is. (after the console is a problem with else if (self.team == allies))
Thanks,
Elite killer