30.03.2009, 20:14
Quote:
|
Originally Posted by Pyrokid
Oh, and remove that semicolon.
if (weapons == 35 && ammo > 0) |
Код:
public OnPlayerUpdate(playerid)
{
new weapons, ammo, slot;
while(slot < 12)
slot++;
GetPlayerWeaponData(playerid, slot, weapons, ammo);
{
SendClientMessage(playerid, 0xE60000FF, "HACKER");
Kick(playerid);
}
return 1;
}
but how will it kick the MINIGUN .. if there is no minigun id ?

