Vehicle::dead: Difference between revisions
No edit summary |
|||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
The getter property, says that the vehicle is dead or not | |||
The Setter property, sets the vehicle dead state. | |||
==Getter== | ==Getter== | ||
* '''<span style="color:#008017">Boolean</span>''' | * '''<span style="color:#008017">Boolean</span>''' | ||
==Example== | ==Setter== | ||
{{ | * '''<span style="color:#008017">Boolean</span>''' | ||
== Example == | |||
{{ServersideCode| | |||
<pre> | |||
let vehicleDead = vehicle.dead; | |||
console.log(vehicleDead); | |||
</pre> | |||
<pre> | |||
0.3.7 | |||
vehicle.dead = true/false; | |||
</pre> | |||
}} | }} | ||
==See Also== | |||
{{Vehicle_definition}} | |||
Latest revision as of 16:28, 6 May 2020
The getter property, says that the vehicle is dead or not The Setter property, sets the vehicle dead state.
Getter
- Boolean
Setter
- Boolean
Example
Server-Side
let vehicleDead = vehicle.dead; console.log(vehicleDead);
0.3.7 vehicle.dead = true/false;
See Also
- Functions
- Vehicle::Vehicle
- Vehicle::destroy
- Vehicle::explode
- Vehicle::getColor
- Vehicle::getColorRGB
- Vehicle::getExtra
- Vehicle::getMod
- Vehicle::getNeonColor
- Vehicle::getOccupant
- Vehicle::getOccupants
- Vehicle::getPaint
- Vehicle::isStreamed
- Vehicle::isStreamedFor
- Vehicle::repair
- Vehicle::setColor
- Vehicle::setColorRGB
- Vehicle::setExtra
- Vehicle::setMod
- Vehicle::setNeonColor
- Vehicle::setOccupant
- Vehicle::setPaint
- Vehicle::spawn
- Entity::destroy
- Entity::dist
- Entity::distSquared
- Entity::getVariable
- Entity::setVariable
- Entity::setVariables
- Properties
- Vehicle::bodyHealth
- Vehicle::brake
- Vehicle::dashboardColor
- Vehicle::dead
- Vehicle::engine
- Vehicle::engineHealth
- Vehicle::extras
- Vehicle::highbeams
- Vehicle::horn
- Vehicle::livery
- Vehicle::locked
- Vehicle::movable
- Vehicle::mods
- Vehicle::neonEnabled
- Vehicle::numberPlate
- Vehicle::numberPlateType
- Vehicle::pearlescentColor
- Vehicle::rocketBoost
- Vehicle::rotation
- Vehicle::siren
- Vehicle::steerAngle
- Vehicle::streamedPlayers
- Vehicle::taxiLights
- Vehicle::trailer
- Vehicle::traileredBy
- Vehicle::trimColor
- Vehicle::velocity
- Vehicle::windowTint
- Vehicle::wheelColor
- Vehicle::wheelType
- Entity::alpha
- Entity::data
- Entity::dimension
- Entity::id
- Entity::model
- Entity::position
- Entity::type