21.02.2015, 13:15
Hello, I've been trying to create a system that saves the visible damage of a vehicle.
Here's the pastebin for the saving: http://pastebin.com/0y3Gngr6
When I log in-game and wreck a vehicle, and then save it using the script, it only saves the panels portion of it. Is that normal behavior?
When I then look into the file it's supposed to save in I see:
Panels=35717121
Doors=0
Lights=0
Tires=0 (I didn't pop the tires, so I don't expect it to be different from 0)
How do I save the doors, lights and tires? Any help would be greatly appreciated, thanks for reading!
Here's the pastebin for the saving: http://pastebin.com/0y3Gngr6
When I log in-game and wreck a vehicle, and then save it using the script, it only saves the panels portion of it. Is that normal behavior?
When I then look into the file it's supposed to save in I see:
Panels=35717121
Doors=0
Lights=0
Tires=0 (I didn't pop the tires, so I don't expect it to be different from 0)
How do I save the doors, lights and tires? Any help would be greatly appreciated, thanks for reading!