17.12.2012, 19:13
don't do that just use the "string" with the name to display / check what ever you want with it.
Example
Example
pawn Код:
public OnPlayerText(playerid, text[])
{
new name[MAX_PLAYER_NAME], string[55];
GetPlayerName(playerid, name,sizeof(name));
format(string,sizeof(string), "[V.I.P]%s: %s",name,text);
SendPlayerMessageToAll(playerid, string);
return 0;
}