Quote:
Originally Posted by Pyrokid
pawn Код:
if (weapons == 35 && ammo > 0) GetPlayerWeaponData(playerid, slot, weapons, ammo); {
Still looks wonky. It should be like this
pawn Код:
public OnPlayerUpdate(playerid) { new weapons, ammo, slot; while(slot < 12) slot++; GetPlayerWeaponData(playerid, slot, weapons, ammo); if (weapons == 35 && ammo > 0) { SendClientMessage(playerid, 0xE60000FF, "HACKER"); Kick(playerid); } return 1; }
|
scrooled all the weps .. nothing...
and MY version just kicks when i hold any wep at all