08.07.2015, 00:40
Yes, just use this, it's working for me perfectly!
Quote:
InGameChatRemoveUnderscore(playerid) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,sizeof(name)); for(new i = strlen(name)-1; i > -1; i--) if(name[i] == '_') name[i] = ' '; return name; } |