10.01.2012, 09:04
ooppsss forgot something
remove the chatlog(playerid, text);
EDIT: GetPlayerNameEx will remove the underscore (only if you have 1 _) so this is great than making a MAX_PLAYER_NAME then getplayername.
tell me if it work
pawn Код:
#define yellow "{FAF623}"
#define COLOR_WHITE 0xFFFFFFAA
stock GetPlayerNameEx(playerid)
{
new string[MAX_PLAYER_NAME];
GetPlayerName(playerid, string, sizeof(string));
for(new i; i < MAX_PLAYER_NAME; i++) if (string[i] == '_') string[i] = ' ';
return string;
}
EDIT: GetPlayerNameEx will remove the underscore (only if you have 1 _) so this is great than making a MAX_PLAYER_NAME then getplayername.
tell me if it work