math.random( 1, 18 ) Toggle


I make my HUD and add AGE OLD to HUD

I have this problem :


color = { "green", "red", "blue", "yellow" }
	local age = table.Random( color )

How to fix value don’t change …

Please PM someone listed in this thread who speaks French:

Ok i have James i PM translator to this problem thank

[editline]13th October 2015[/editline]

I change my post

Your putting it in a think/draw hook or some sort of a hook which repeats it self, that’s why it keeps random it.

Indeed, put the code itself outside of that, then use the variable holding said colour in HUDPaint

Okay a placed outside of HUDPAINT and work thank !