Little help with TEAMS Selection COLORS!
#1

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?


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
Reply
#2

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~
Reply
#3

try with 0.3c colors
Reply
#4

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
View Post
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.
Reply
#5

You need to use textdraws, as you can use HEX codes in it.
Reply
#6

Missread.
Reply
#7

WTF lol,now its not working
It doesn't even show "ARMY"
Reply
#8

Quote:
Originally Posted by Issam
View Post
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.
Reply
#9

Quote:
Originally Posted by Mean
View Post
You need to use textdraws, as you can use HEX codes in it.
^^^^^
Reply
#10

Quote:
Originally Posted by payton326
View Post
^^^^^
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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)