Little help with TEAMS Selection COLORS! -
Issam - 16.09.2011
As far as i know,we only have colors like Green for example = " ~r~ "
and there is no BROWN Color,But i think i saw it somewhere and i know it can be added,i only don't know HOW?
![](http://i52.tinypic.com/2hzmu5g.png)
Pawn Code for this Team!
pawn Code:
SetPlayerPos(playerid, 369.2329,1916.1652,18.3985);
SetPlayerCameraPos(playerid, 365.9307,1912.9822,17.6406);
SetPlayerCameraLookAt(playerid, 369.2329,1916.1652,18.3985);
GameTextForPlayer(playerid, "Army", 5000, 5);
SetPlayerColor(playerid, 0xC4840EFF);
SetPlayerFacingAngle(playerid, 110.000);
ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
I know why it gave me WHITE Color, and i know how to add bleu/purple/black/yellow/green, i'm Only stuck with
BROWN
Re: Little help with TEAMS Selection COLORS! -
Raimis_R - 16.09.2011
Quote:
~n~ New line
~r~ Red
~g~ Green
~b~ Blue
~w~ White
~y~ Yellow
~p~ Purple
~l~ Black
~h~ Turn text colour lighter (used too much will make your text white, doesnt work on black)
|
Play with ~h~
Re: Little help with TEAMS Selection COLORS! -
System64 - 16.09.2011
try with 0.3c colors
Re: Little help with TEAMS Selection COLORS! -
Issam - 16.09.2011
for Example?
il turn the RED Color onto BROWN?
pawn Code:
GameTextForPlayer(playerid, "~h~~h~~h~~r~Army ", 5000, 5);
right?
Quote:
Originally Posted by System64
try with 0.3c colors
|
What you mean, 0xFF00FF And stuff like this?
if you mean THAT,beleive me i tried,and there is noway it can work like that.
Re: Little help with TEAMS Selection COLORS! -
Mean - 16.09.2011
You need to use textdraws, as you can use HEX codes in it.
Re: Little help with TEAMS Selection COLORS! -
Jafet_Macario - 16.09.2011
Missread.
Re: Little help with TEAMS Selection COLORS! -
Issam - 16.09.2011
WTF lol,now its not working
It doesn't even show "ARMY"
Re: Little help with TEAMS Selection COLORS! -
Wesley221 - 16.09.2011
Quote:
Originally Posted by Issam
WTF lol,now its not working
It doesn't even show "ARMY"
|
Thats because you cant use HEX codes inside a gametext. Just use the color codes ~r~ etc someone posted above here.
Re: Little help with TEAMS Selection COLORS! -
payton326 - 16.09.2011
Quote:
Originally Posted by Mean
You need to use textdraws, as you can use HEX codes in it.
|
^^^^^
Re: Little help with TEAMS Selection COLORS! -
Issam - 16.09.2011
Quote:
Originally Posted by payton326
^^^^^
|
I Think il change the type to 3 or something like this for Brown color,
i Don't like the textdraw thing,cause it wont show like others, I Got another team called Grove,with green color.
EDIT: HAHAHA I Get it, there is a style with default color is BROWN,il just use it,it is the same one as the one i use
So,style will be set to 3,thanks all i think il solve it,il try it and responde.
Another EDIT: Working fine :P,thanks all!