14.09.2011, 20:08
He didnt say. I will give him the function. Also that doesnt make it a BAD example, it just means its not complete, He needs to learn.
pawn Код:
GetNameEx(playerid) {
new
sz_playerName[MAX_PLAYER_NAME],
i_pos;
GetPlayerName(playerid, sz_playerName, MAX_PLAYER_NAME);
while ((i_pos = strfind(sz_playerName, "_", false, i_pos)) != -1) sz_playerName[i_pos] = ' ';
return sz_playerName;
}