Scripting/Squirrel/Functions/Vehicle.Health

From Vice City Multiplayer
Revision as of 11:58, 13 February 2016 by Ultimatejugo (talk | contribs) (Created page with " == Syntax == <pre>Vehicle.Health();</pre> == Example == <pre>if (cmd == "carhp") { local veh = player.Vehicle; MessagePlayer("Your cars health is " + veh.Health + "", playe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

Syntax

Vehicle.Health();


Example

if (cmd == "carhp")
{
local veh = player.Vehicle;
MessagePlayer("Your cars health is " + veh.Health + "", player);
}