04.08.2016, 17:22
How do I find the names of the players without characters [ and ]?
The player has when entering names: Spenker
After login: [LOK]Spenker
[LOK] = Clan Tag.
/id Spenker => restul: "The player not connected.".
The player has when entering names: Spenker
After login: [LOK]Spenker
[LOK] = Clan Tag.
/id Spenker => restul: "The player not connected.".
Код HTML:
CMD:id(playerid, params[]) { new playerto, test[54]; if(sscanf(params, "u", playerto)) return SendSyntaxMessage(playerid, "/id [playerid or playername]"); if(!IsPlayerConnected(playerto)) return SendClientMessage(playerid, COLOR_WHITE1,"The player not connected."); format(test, sizeof(test), "Player: %s", GetPName(playerto)), SendClientMessage(playerid, -1, test); return 1; }