GetVehicleDamage: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:


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


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

Latest revision as of 18:10, 28 May 2021