19.07.2011, 18:27
Код:
stock RemoveUnderScore(id) { new name[MAX_PLAYER_NAME]; GetPlayerName(id,name,sizeof(name)); for(new i = 0; i < MAX_PLAYER_NAME; i++) { if(name[i] == '_') { name[i] = ' '; } } return name;}
(Dont forget to change playerid to id in the Forward as well...)
Example usage
Код:
OnPlayerConnect(playerid) { RemoveUnderScore(playerid); return 1; }