if(strcmp(cmd, \"/check\", true) == 0){ if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, \"Használat: /check [Játékos id/név]\"); return 1; } new check; check = ReturnUser(tmp); tmp = strtok(cmdtext, idx); if(PlayerInfo[playerid][pAdmin] >=2) { if(IsPlayerConnected(check)) { if(check != INVALID_PLAYER_ID) { new Float: health; GetPlayerHealth(playerid,health); new Float: armour; GetPlayerArmour(playerid, armour); new cash = GetPlayerMoney(giveplayerid); new score = GetPlayerScore(giveplayerid); GetPlayerName(giveplayerid, sendername, sizeof(sendername)); new playersip[256]; GetPlayerIp( giveplayerid,playersip,sizeof(playersip)); SendClientMessage(playerid, COLOR_RED, \"___________________________________________\"); format(string, sizeof(string), \"Név: %s, Pontok: %d, Pénz: %d, Élet: %f, Páncél: %f\", sendername, score, cash, health, armour); SendClientMessage(playerid, COLOR_LIGHTBLUE, string ); format(string, sizeof(string), \"Interrior id: %d, Virtual World: %d\",GetPlayerInterior(giveplayerid), GetPlayerVirtualWorld(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), \"Ip cím: %s, Csapat: %s\",playersip, gTeam); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); SendClientMessage(playerid, COLOR_RED, \"___________________________________________\"); } } } else { SendClientMessage(playerid, COLOR_GRAD1, \" Nem vagy jogosult használni ezt a parancsot\"); }}return 1;}