11.02.2011, 10:16
Quote:
I like it alot, here is a part i did not like. After vehicle is destroyed, it is re spawned but without a color or a mod u want on it, i assume u made it random color, after i re connect and come on server, everything is back on my vehicle, can you tell me why?
I got it to work so regular colors respawn after car is destroyed, now what about Paintjobs and compounts? is it possible to make them appear after car is destroyed? |
1) Create a (boolean) variable called: Destroyed
2) Set the var to 'true' under OnVehicleDeath.
3) Check under OnVehicleSpawn if Destroyed is set to 'true'.
4) Load the components (code under OnPlayerConnect).