dcmd_cuff(playerid, params[]){ new givepid, str3[100], str4[100], pname[MAX_PLAYER_NAME], rname[MAX_PLAYER_NAME]; for(new i = 0; i < MAX_PLAYERS; i++){if (sscanf(params, \"i\", givepid)) return SendClientMessage(playerid, 0x00FF00, \"HASZNALAT: /cuff [iD]\");{if(pjob[playerid] != rendor) return SendClientMessage(playerid, 0x00FF00, \"Nem vagy rendor!\");{if(pjob[givepid] == rendor) return SendClientMessage(playerid, 0x00FF00, \"Ez a jatekos rendor!\");{ if(!IsPlayerConnected(givepid)) return SendClientMessage(playerid, 0xFF0000AA, \"Nem talalhato jatekos!\");{if(GetPlayerWantedLevel(givepid) == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Artatlan jatekost nem bilincselhetsz le\");{if(bilincselve[givepid] == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Ez a jatekos mar le van bilincselve!\");{if(GetDistanceBetweenPlayers(playerid, givepid) > 3) return SendClientMessage(playerid, 0x00FF00, \"Nincs jatekos a kozelben\");{ GetPlayerName(givepid, pname,sizeof(pname)); format(str3,sizeof(str3), \"Rendor:%s lebilincselt teged!\", rname);SendClientMessage(givepid, 0x00FF00AA, str3);format(str4,sizeof(str4), \"Sikeresen lebilincselted %s-t!\", pname);SendClientMessage(playerid, 0x00FF00AA, str4); SetPlayerAttachedObject(givepid, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000); SetPlayerSpecialAction(givepid,SPECIAL_ACTION_CUFFED); bilincselve[givepid]++; }}}}}}}}return 1;}