PlayerName
From SA-MP Wiki
stock PlayerName(playerid) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, MAX_PLAYER_NAME); return pname; }
//Пример использования от xKiller (GameMan) if(strcmp(cmdtext, "/myname", true) == 0) { new str[256]; format(str, 256, "Твое имя %s", PlayerName(playerid)) SendClientMessage(playerid, 0x77FF00AA, str); return 1; }