21.06.2011, 13:29
You wanted the color to be white if he talks right? Then we need the color white (0xFFFFFFFF).
Aslong you dont got anything in OnPlayerText, your color when you talk will be the standart colors. Thats why you need to change to colors by yourself.
"format(string,sizeof(string),"%s(%d ) said: %s",pname,playerid,params);", this shows just the standart player color.
If we add "{FFFFFFFF}" before everything, the color will be changed in white.
"format(string,sizeof(string),"{FFFFFFFF}%s(%d ) said: %s",pname,playerid,params);"
Aslong you dont got anything in OnPlayerText, your color when you talk will be the standart colors. Thats why you need to change to colors by yourself.
"format(string,sizeof(string),"%s(%d ) said: %s",pname,playerid,params);", this shows just the standart player color.
If we add "{FFFFFFFF}" before everything, the color will be changed in white.
"format(string,sizeof(string),"{FFFFFFFF}%s(%d ) said: %s",pname,playerid,params);"