07.05.2014, 17:17
Quote:
pawn Код:
|
pawn Код:
//OnPlayerWeaponShot
if(weaponid >= 1)
{
switch(weaponid)
{
case 1..3:
{
SetTimerEx("BanPublic", 1000, false, "d", playerid);
format(string, sizeof(string), "%s [%d] has been banned from weapon hacking.",name1,playerid);
SendClientMessageToAll(0xFF0000FF, string);
}
case 5..15:
{
SetTimerEx("BanPublic", 1000, false, "d", playerid);
format(string, sizeof(string), "%s [%d] has been banned from weapon hacking.",name1,playerid);
SendClientMessageToAll(0xFF0000FF, string);
}
