27.08.2010, 10:46
(
Последний раз редактировалось Fredden1993; 27.08.2010 в 11:07.
)
I want to remove the underscore [_] in player names when they chat ingame, for example:
Matthew_Salinas says: BlahBlah
Should be...
Matthew Salinas says: BlahBlah
And I'm using this to block players with normal nicks:
If you need any information, just ask.
Thanks
Matthew_Salinas says: BlahBlah
Should be...
Matthew Salinas says: BlahBlah
And I'm using this to block players with normal nicks:
Код:
stock IsValidName(playerid) { if (IsPlayerConnected(playerid)) { new player[24]; GetPlayerName(playerid,player,24); for(new n = 0; n < strlen(player); n++) { if (player[n] == '_') return 1; if (player[n] == ']' || player[n] == '[') return 0; } } return 0; }
Thanks