CMD:tazer(playerid,params[]){if(gTeam[playerid] != CSAPAT_RENDOR){ SendClientMessage(playerid,-1,\"Haver,Nem Vagy Rendõr!\");}else{ new JATEKOS,string[128]; ProxDetector(2.0, JATEKOS, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); SendClientMessage(playerid,CSAPAT_RENDOR_COLOR,\"SOkkoltad!\");SendClientMessage(JATEKOS,CSAPAT_RENDOR_COLOR,\"Sokkoltak!!\");TogglePlayerControllable(JATEKOS,0);}return 1;}
forward tazeoff(playerid);public tazeoff(playerid);{TogglePlayerControllable(playerid,0);SendClientMessage(playerid,-1,\"Elmúlt a sokk hatása!\");return 1;}CMD:tazer(playerid,params[]){if(gTeam[playerid] != CSAPAT_RENDOR){ SendClientMessage(playerid,-1,\"Haver,Nem Vagy Rendõr!\");}else{new Float: x, FLoat: y, Float: z;GetPlayerPos(playerid, x, y, z);for(new i; i<MAX_PLAYERS; i++){if(IsPlayerInRangeOfPoint(i, 3.0, x, y, z)) { SendClientMessage(i,CSAPAT_RENDOR_COLOR,\"Sokkoltak!!\");TogglePlayerControllable(i,0); SetTimerEx(\"tazeoff\", 60000, false, \"i\", i); }}SendClientMessage(playerid,CSAPAT_RENDOR_COLOR,\"Sokkoltad!\");}}return 1;}