14.03.2010, 23:27
Try this:
It will send that message to the Hacker and Ban him when he spawns a minigun.
Код:
public OnPlayerUpdate(playerid) { new weaponid; weaponid = GetPlayerWeapon(playerid); if(weaponid == 38) { SendClientMessage(playerid, 0xFF0000AA,"You have been banned for Minigun Hacks."); Ban(playerid); } return 1; }