Weapons can not use
#5

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
It's with () not with [], are you blind..?
pawn Код:
public NoZombieWeapons(playerid)
{
    if(gTeam[playerid] == TEAM_ZOMBIE)
    {
         if(GetPlayerWeapon(playerid) == 38) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == DEAGLE) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == TEC9) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == M4) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == SMG) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == CHAINSAW) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == SMG2) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == 22) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == 23) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == 25) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == 26) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == 27) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == 35) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
         if(GetPlayerWeapon(playerid) == 36) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
    }
    return 1;
}
Should work
Reply


Messages In This Thread
Weapons can not use - by Kitten - 15.11.2010, 00:22
Re: Weapons can not use - by The_Moddler - 15.11.2010, 00:26
Re: Weapons can not use - by Kitten - 15.11.2010, 00:30
Re: Weapons can not use - by The_Moddler - 15.11.2010, 00:39
Re: Weapons can not use - by Haydz - 15.11.2010, 06:47
Re: Weapons can not use - by cessil - 15.11.2010, 07:53

Forum Jump:


Users browsing this thread: 1 Guest(s)