28.04.2012, 14:31
i have this:
i have roleplay server. when people name like this: Firstname_lastname , it will remove the "_" from the names so it would look like Firstname lastname . but it not working. i put at the end of my script nothing happens?
pawn Код:
stock GetName(playerid)
{
new
name[24];
GetPlayerName(playerid, name, sizeof(name));
strreplace(name, '_', ' ');
return name;
}