IDs skins color

Started by Casper, Apr 30, 2017, 12:45 PM

Previous topic - Next topic

Casper

appear this:

<Class team="8" skin="140" x="-679.983" y="1204.78" z="11.109" angle="274.8086" weapon1="19" ammo1="999" weapon2="22" ammo2="250" weapon3="26" ammo3=" 500" r="199" g="21" b="255" a="1"/>
but where i can change the color?

kennedyarz

RGBA  r="199" g="21" b="255" a="1"/> 


best use this mode 

AddClass( 1, RGB( 250,250,200 ) ,7, Vector(-1512.39,-932.15,20.8823), 140.020, 0,999 ,0 100,0, 245 );
( team, RGB( IS COLOUR), SKIN, VECTRO(X,Y,Z), blablabla

http://www.rapidtables.com/web/color/RGB_Color.htm   

Casper

still i don't understand + your link does not work

kennedyarz


I say "I'd better delete that line from server.config" I'm talking about this

<Class team = "8" skin = "140" x = "-679.983" and = "1204.78" z = "11.109" angle = "274.8086" weapon1 = "19" ammo1 = "999" weapon2 = "22" ammo2 = "250" weapon3 = "26" ammo3 = "500" r = "199" g = "21" b = "255" a = "1"
Then in your main.nut which is in the scripts folder you must add in the part of onscripload this
AddClass (1, RGB (250,250,200), 7, Vector (-1512.39, -932.15,20.8823), 140.020, 0.999, 100.0, 245);
RGB COLOURS HERE

luchgox

Put this section to main.nut (if you already have the ScriptLoad function then only copy the Class and put it in to function onScriptLoad)
function onScriptLoad()
{
    AddClass( 2, RGB( 54, 64, 211 ) ,2, Vector (-1512.39, -932.15,20.8823), 140.020, 0.999, 100.0, 245);
}
Strength does not come from wining.Your struggles develop your strengths.

KrlozZ...

Hey brain donor here a page for rgba colors

http://www.december.com/html/spec/colorrgbadec.html


And if you will use the ones which they give you here is a page for rgb colors.

http://www.rapidtables.com/web/color/RGB_Color.htm

Casper