Vehicle with infinite health + StartRecordingPlayerData
#1

When I make a recording using StartRecordingPlayerData on a player that is inside a vehicle with it's vehicle-health set to infinite (Float:0x7F800000), the following occurs during playback of the recording -
- the vehicle, if a road-vehicle, sets on fire and explodes approximately 10 seconds later
- the vehicle, if an aircraft, explodes immediately

I have tried healing the vehicle on playerback using RepairVehicle & SetVehicleHealth, to no avail. Debug messages show that these commands are being executed.

Does anybody have any experience with this?
Should I rethink the way I give vehicles infinite health? If so, how would you suggest I go about this?
Any suggestions as to how I should go about debugging this? I'm a wee bit stumped, and have been for a few days.

Thanks in advance for any feedback/information.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)