24.06.2011, 10:46
Код:
dcmd_id(playerid, params[]) { new id, playername[24] ,string[256]; if (sscanf(params, "s", playername)) return SendClientMessage(playerid, 0xFF0000AA, "Utilisation: \"/id <nom du joueur>\""); else { id=GetPlayerID(playername); format(string, sizeof(string), "%s 's ID is %d.", playername, id); SendClientMessage(playerid, 0xFFFF00AA, string); } return 1; }