Skip to content

Latest commit

 

History

History
174 lines (168 loc) · 7.98 KB

Vehicle.wikitext

File metadata and controls

174 lines (168 loc) · 7.98 KB

Table of Contents

Static functions

Returns Prototype
Vehicle Create(number, Vector3, Angle)
Vehicle Create(table)
Vehicle GetById(number)
number GetMassByModelId(number)
string GetNameByModelId(number)

Functions

Returns Prototype
Angle GetAngle()
Vector3 GetAngularVelocity()
Color, Color GetColors()
boolean GetDeathRemove()
number GetDeathRespawnTime()
string GetDecal()
Player GetDriver()
number GetHealth()
number GetId()
boolean GetInvulnerable()
Vector3 GetLinearVelocity()
number GetMass()
number GetModelId()
string GetName()
table GetOccupants()
Vector3 GetPosition()
string GetTemplate()
boolean GetUnoccupiedRemove()
number GetUnoccupiedRespawnTime()
Remove()
Respawn()
SetAngle(Angle)
SetAngularVelocity(Vector3)
SetColors(Color, Color)
SetDeathRemove(boolean)
SetDeathRespawnTime(number)
SetHealth(number)
SetInvulnerable(boolean)
SetLinearVelocity(Vector3)
SetMass(number)
SetPosition(Vector3)
SetUnoccupiedRemove(boolean)
SetUnoccupiedRespawnTime(number)
Teleport(Vector3, Angle)

Functions inherited from StreamableObject

Returns Prototype
CellID GetCellId()
boolean GetEnabled()
number GetStreamDistance()
World GetWorld()
SetEnabled(boolean)
SetStreamDistance(number)
SetWorld(World)

Operators

Returns Prototype
boolean Vehicle == Vehicle
string tostring(Vehicle)