Posts: 111
Threads: 34
Joined: Jul 2009
Reputation:
0
That's just impossible i think.
Posts: 293
Threads: 26
Joined: Apr 2009
Reputation:
0
but if i spawn car and set color ,
if i want save this car with the color its not possible?
Posts: 196
Threads: 0
Joined: Nov 2008
Reputation:
0
Just save the parameters given for colors when someone does /addveh ?
Posts: 293
Threads: 26
Joined: Apr 2009
Reputation:
0
yes just save param color 1 and 2
but i don't know how stock param color1 and color2
Posts: 293
Threads: 26
Joined: Apr 2009
Reputation:
0
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
Posts: 196
Threads: 0
Joined: Nov 2008
Reputation:
0
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.