26.05.2016, 16:15
So for example red would be
Normal: FF0000
SA:MP 0xFF0000AA
Correct?
EDIT: no matter what sort of coding I add/remove, seems that this wont work
OR
Its still the same In game
It will print out the color code not the color. Aka colour of the message will stay the same
Normal: FF0000
SA:MP 0xFF0000AA
Correct?
EDIT: no matter what sort of coding I add/remove, seems that this wont work
PHP код:
stock GetPlayerColour(playerid) {
new string[25];
format(string,sizeof(string),"{%s}",pStat[playerid][PlayerColour]);
return string;
}
PHP код:
stock GetPlayerColour(playerid) {
new string[25];
format(string,sizeof(string),"{0x%sAA}",pStat[playerid][PlayerColour]);
return string;
}
PHP код:
format(string,sizeof(string),"%s [%s] %s: %s",GetPlayerColour(playerid),GetPlayerNickname(playerid),GetName(playerid),text);
SendClientMessageToAll(0xFFFFFFFF,string)