PDA

View Full Version : Vehicle damage saving


RedCounty
04/12/2013, 08:02 PM
EDIT: Nevermind, fixed the issue.

Hey there please could someone help me with vehicle damage saving?

I have this:

new Panels[MAX_VEHICLES], Doors[MAX_VEHICLES], LightDamage[MAX_VEHICLES], Tires[MAX_VEHICLES];


Then, on a timer, I have:

GetVehicleDamageStatus(vehicleid, Panels[vehicleid], Doors[vehicleid], LightDamage[vehicleid], Tires[vehicleid]);

Then, when it saves; it saves as "0". Then when it loads as 0, they're all fully fixed.

I set the variables to 100, they load as 100.

The damage only has one tire out, nothing else.

What's the issue?


EDIT: Nevermind, fixed the issue.