GetVehicleDamage: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
28days (talk | contribs)
No edit summary
Line 12: Line 12:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
if GetVehicleDamage(vehicleId, 1) == 1.0 then
    print("Vehicle is totalled.")
end
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{VehicleFunctions}}
{{VehicleFunctions}}

Revision as of 17:04, 13 December 2019