18.01.2013, 00:44
When I asked a friend of mine how to remove them, he gave me this, but it's still not working and instead of names appearing as "John Smith", they appear as "John_Smith"
pawn Код:
stock GetNameEx(playerid)
{
new Name[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid))
{
new i;
GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
while ((i = strfind(Name, "_", false, i)) != -1)
Name[i] = ' ';
}
return Name;
}