12.03.2011, 14:19
It's maybe something with the strreplace, you might used it wrong.
And try this:
EDIT: Too late...
And try this:
pawn Код:
stock GetNameEx(playerid)
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
for(new i = 0, l = strlen(pName); i < l; i++)
if(pName[i] == '_')
pName[i] = ' ';
return pName;
}