how can i change the class color? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how can i change the class color? (
/showthread.php?tid=292231)
how can i change the class color? -
jtweak - 23.10.2011
so i was wondering how i could change my courier class color, (its pink) to black...
i found this in my gamemode
case ClassCourier: // Courier class
{
format(missiontext, sizeof(missiontext), Courier_NoJobText); // Preset the missiontext
SetPlayerColor(playerid, ColorClassCourier); // Set the playercolor (chatcolor for the player and color on the map)
please help, best regards,
jtweak
Re: how can i change the class color? -
jtweak - 23.10.2011
sorry for bump, but black is just my first choice, i will take just about any other color except pink, thanks
AW: how can i change the class color? -
Nero_3D - 23.10.2011
search for
ColorClassCourier (with F3) and if there is a hex color (0xblabla) behind it than you found the correct line
now you only need to change that hex color to 0xFF (black & full visible on map)
Re: how can i change the class color? -
jtweak - 23.10.2011
where could i find this? in the gamemode? thanks i will rep ya
Re: how can i change the class color? -
AeroBlast - 23.10.2011
Somewhere in your script, there should be:
pawn Код:
#define ColorClassCourier 0xFF00CCFF //Or something like that
Change the 0xFF00CCFF to 0x000000FF
EDIT: Late...