ScriptHook.RepairLocalPlayerVehicle

From Nomad DB
Revision as of 12:04, 18 April 2020 by Jan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If the player is sitting inside a Vehicle, this function will repair it. If not in a Vehicle, this function does nothing.

This does not repair dead vehicles, and bugs might still occur when using this function.

Syntax

ScriptHook.RepairLocalPlayerVehicle()

Related Pages