if (strcmp(cmd, \"get\", true) == 0){ new Name[MAX_PLAYER_NAME], Name2[MAX_PLAYER_NAME]; GetPlayerName(playerid,Name,sizeof(Name)); if(PlayerInfo[playerid][pAdminLevel] <3) { new plr; tmp = strtok(cmdtext, idx),plr = FindPlayerIDFromString(tmp); if (!strlen(tmp))SendClientMessage(playerid,0x41abd1AA, \"[Hasznalat]: /c get [PlayerID]\"); else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,0x41abd1AA,\"Error: Hibas Player\"); else { new string[256]; GetPlayerName(plr, Name2, sizeof(Name2)); format(string,sizeof(string),\"Admin:[ %s ] gettelte Player:[ %s ] ID:[ %i ]\",Name,Name2,plr); SendClientMessageToAll(0x41abd1AA, string); SendClientMessage(plr,0x41abd1AA,\"Admin gettelt tegedet!\"); GetPlayerPos(playerid,x,y,z); SetPlayerPos(plr,x,y,z,0,0); } }else{ SendClientMessage(playerid,-2,\"Min:3-as admin kell legyel.\"); } }
enum pInfo{Password[ MAX_PASS_SIZE +1 ],Logged,Level,Skinid,pAdminLevel,Stats,Spawned,FalseLogins,NoGoto,NoLoc}
if (strcmp(cmd, \"get\", true) == 0) { new Name[MAX_PLAYER_NAME], Name2[MAX_PLAYER_NAME]; GetPlayerName(playerid,Name,sizeof(Name)); if(PlayerInfo[playerid][pAdminLevel] >= 3) { new plr; tmp = strtok(cmdtext, idx),plr = FindPlayerIDFromString(tmp); if (!strlen(tmp))SendClientMessage(playerid,0x41abd1AA, \"[Hasznalat]: /c get [PlayerID]\"); else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,0x41abd1AA,\"Error: Hibas Player\"); else { new string[256]; GetPlayerName(plr, Name2, sizeof(Name2)); format(string,sizeof(string),\"Admin:[ %s ] gettelte Player:[ %s ] ID:[ %i ]\",Name,Name2,plr); SendClientMessageToAll(0x41abd1AA, string); SendClientMessage(plr,0x41abd1AA,\"Admin gettelt tegedet!\"); GetPlayerPos(playerid,x,y,z); SetPlayerPos(plr,x,y,z,0,0); } }else{ SendClientMessage(playerid,-2,\"Min:3-as admin kell legyel.\"); } }
if(PlayerInfo[playerid][pAdminLevel] <3)