GetVehicleDamage: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
 
Line 14: Line 14:
<syntaxhighlight lang="Lua>
<syntaxhighlight lang="Lua>
if GetVehicleDamage(vehicleId, 1) == 1.0 then
if GetVehicleDamage(vehicleId, 1) == 1.0 then
     print("Vehicle is totalled.")
     print("Vehicle is totaled.")
end
end
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 18:10, 28 May 2021