Scripting/Squirrel/Functions/Vehicle.Health: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(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...")
(No difference)

Revision as of 11:58, 13 February 2016

Syntax

Vehicle.Health();


Example

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