15.11.2010, 07:53
how about this?
pawn Код:
public NoZombieWeapons(playerid)
{
if(gTeam[playerid] == TEAM_ZOMBIE)
{
if(GetPlayerWeapon(playerid) != 0 && GetPlayerWeapon(playerid) != KNIFE) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,KNIFE,600);
}
return 1;
}