10.11.2017, 17:13
Quote:
This should do the job:
PHP код:
|
Here is the photo
https://imgur.com/a/4dk22
And this is my code
PHP код:
GetName(playerid, bool:with_underscore = true) // Notice the with_underscore parameter.
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if(!with_underscore)
{
for(new i = 0; i < MAX_PLAYER_NAME; i++)
{
if(name[i] == '_') name[i] = ' ';
}
}
return name;
}