get car color
#1

.
Reply
#2

That's just impossible i think.
Reply
#3

but if i spawn car and set color ,
if i want save this car with the color its not possible?
Reply
#4

..
Reply
#5

Just save the parameters given for colors when someone does /addveh ?
Reply
#6

yes just save param color 1 and 2

but i don't know how stock param color1 and color2
Reply
#7

What do you mean?
Reply
#8

i spawn a car with a command "/spawncar"
then i choose a color with command "/setcarcolor color1 color2

then i add a car in a file (after the gamemode reload the file to createvehicles) with the command /addveh

my problem is to save the colors of the car too
Reply
#9

Well in case your /setcarcolor command works as it should just save color1 and color2 in that file that stores your vehicle data, and when doing /addveh it will create the vehicle with those colors stored.

Pretty cumbersome as you got so many commands for just one thing but without altering too much code that should do the trick.
Reply
#10

..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)