SA-MP Forums Archive
Problem with player color!HELP! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem with player color!HELP! (/showthread.php?tid=89902)



Problem with player color!HELP! - TheKingWillem - 04.08.2009

I've got this for expample at AtPlayerSpawn, and defined the color gray as #define COLOR_GRAY 0x808080FF, but if i spawn as a pilot its keeps getting green... i really don't know what the problem is, because the other classes are just working fine, exept one of them, which has the same problem. Thanks in advance, willem.


else if(gTeam[playerid] == TEAM_PILOT) {

SetPlayerColor(playerid,COLOR_GRAY); // Gray


Re: Problem with player color!HELP! - speedruntrainer - 04.08.2009

Did you define TEAM_PILOT?
idk anyways :/


Re: Problem with player color!HELP! - TheKingWillem - 04.08.2009

Ofcourse i did.. I can script


Re: Problem with player color!HELP! - TheKingWillem - 05.08.2009

Anyone? I need it before tonight, because then my server will be up..


Re: Problem with player color!HELP! - XtremeChio - 05.08.2009

Tried CTRL+F and typing COLOR_GREEN ? Maybe it will find something, where the problem is..


Re: Problem with player color!HELP! - yezizhu - 05.08.2009

COLOR_GRAY 0x808080FF,
Are you sure it is grey?