SA-MP Forums Archive
How i put new colours - 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: How i put new colours (/showthread.php?tid=160363)



How i put new colours - fmmalves - 16.07.2010

I PUT NEW COLOURS ID LIKE 131 OR 158 BUT SOMETIMES THE COLOUR CHANGE..
HELP ME...

131 = litleblue apears green...


Re: How i put new colours - Toni - 16.07.2010

do you mean random colours?

remember the params I posted in the other topic

AddStaticVehicleEx(model Id, Float: spawn_x, Float: spawn_y, Float: spawn_z, Float: rotation, color 1, color 2, respawn time);

If you want it random, just add

random(150), random(150)

where color1, color2 is