10.01.2013, 00:18
Код:
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DUCK) { CrouchCount[playerid] ++; if(CrouchCount[playerid] > 5) return SendClientMessage(playerid,-1,COL_RED"[WS:AC] "COL_WHITE"Izbaceni ste zbog iskoristavanja "#COL_ORANGE"C-Bug"#COL_WHITE"-a"); Kick(playerid); }
on ban similar problem, won't kick player right now and won't send ClientMessages ...
Код:
SetTimer("ResetCrouchCount", 5000, true);