Vehicle stats wont load
#3

It saves correctly, this is the important part of the ID 1 car.ini:
Код:
HP=826.000000
Panels=18874401
Doors=33554944
Lights=5
Tires=0
The only problem is applying the health and damage status to the vehicles.

I made this line to know if the datas load correctly for ID 1 vehicle (and they do):
Код:
printf("[Panels] : %d - [Doors] : %d - [Lights] : %d - [Tires] : %d",carPanels[1], carDoors[1], carLights[1], carTires[1]); //id 1 car datas
So it loads correctly, saves correctly, the only problem is that it does not lower the vehicles HP or change the damage status of the vehicle.
Reply


Messages In This Thread
Vehicle stats wont load - by penaut - 14.04.2017, 21:47
Re: Vehicle stats wont load - by GangstaSunny. - 14.04.2017, 23:41
Re: Vehicle stats wont load - by penaut - 15.04.2017, 10:41

Forum Jump:


Users browsing this thread: 1 Guest(s)