The title says it all. Currently GetEntityHealth only works with peds server side. However, having this feature for vehicles too is pretty important.
This will give you the right result:
GetVehicleBodyHealth(vehicleId) * 7.1362384635298e+44
1 Like
Incredible !!!
Thank you so much!
do note that such a workaround will end up breaking if whatever bug (care to make a proper report?) is fixed!
HassoN, you can verify and submit a PR for each of the incorrectly type’d (and by extension, the never tested) natives.