CMD:sokkol(playerid, params[]){ if(pInfo[playerid][pFrakcio] == RFONOK || pInfo[playerid][pFrakcio] == RENDOR) {if(Sokkoloeloveve[playerid] == 1){ new suspect = GetClosestPlayerToPlayer(playerid); new s[128]; TogglePlayerControllable(suspect, false); SetTimerEx(\"fagyasztki\", 60000, 0, \"%i\", suspect ); format(s, 200, \"* %s rendõr lesokkolta %s -t\", Nev(playerid),Nev(suspect)); ProxDetector( 15.0, playerid, s, LILA, LILA, LILA, LILA, LILA);}else SendClientMessage(playerid, NARANCS, \"Nincs nálad sokkoló!\");}else SendClientMessage(playerid, NARANCS, \"Nem vagy Rendõr!\");return 1;}
forward fagyasztki(playerid);public fagyasztki(playerid){new suspect = GetClosestPlayerToPlayer(playerid);TogglePlayerControllable(suspect, true);SendClientMessage(playerid,PIROS,\"A hatás elmúlt!\");}
forward fagyasztki(playerid); public fagyasztki(playerid){ TogglePlayerControllable(playerid, 1);}
SetTimerEx(\"fagyasztki\", 60000, 0, \"i\", suspect);