Search results

Jump to navigation Jump to search
  • These are the vehicle colors you can get with [[getVehicleColor]]. {{Vehicle colors}}
    297 bytes (38 words) - 07:16, 1 January 2022
  • These are the vehicle colors you can use with [[setVehicleColor]] and [[getVehicleColor]]. {{Vehicle colors}}
    251 bytes (31 words) - 05:56, 22 March 2016
  • This event is triggered when a vehicle respawns. The source of this event is the vehicle that respawned.
    576 bytes (70 words) - 00:35, 14 May 2012
  • This event is triggered by a trailer when it gets attached to a towing vehicle. vehicle towedBy
    797 bytes (102 words) - 19:56, 22 September 2016
  • {{Vehicle colors}} {{RU/Vehicle functions}}
    504 bytes (27 words) - 11:21, 13 April 2021
  • This event is triggered when a player or ped has exited a vehicle. vehicle theVehicle, int seat
    1,007 bytes (125 words) - 04:41, 20 October 2020
  • This event is triggered when a vehicle explodes. The source of this event is the vehicle that exploded.
    665 bytes (80 words) - 21:15, 12 August 2023
  • {{Vehicle colors}} {{Vehicle functions}}
    371 bytes (51 words) - 21:48, 21 February 2021
  • ...delay, the vehicle is respawned. You can use this function to prevent the vehicle from respawning. bool resetVehicleExplosionTime ( vehicle theVehicle )
    1 KB (160 words) - 04:34, 16 May 2023
  • This event is triggered when a trailer gets detached from its towing vehicle. vehicle towedBy
    797 bytes (99 words) - 00:41, 14 May 2012
  • This function returns a table containing the handling data of the specified vehicle model. Note: the data returned may not reflect the actual handling of a particular vehicle, since this may be overriden by the [[setVehicleHandling]] function.
    1 KB (143 words) - 15:41, 13 October 2014
  • Resets the vehicle idle time bool resetVehicleIdleTime ( vehicle theVehicle )
    1,003 bytes (125 words) - 04:33, 16 May 2023
  • ...e/item|1.5.9|1.5.8|20740|This event is fired when a [[ped]] has exited a [[vehicle]].}} vehicle theVehicle, int seat
    1,002 bytes (119 words) - 21:02, 23 September 2021
  • ...0797|This function resets the [[vehicle]] dependent dummy positions to the vehicle's current model dummy positions.}} bool resetVehicleDummyPositions ( vehicle theVehicle )
    652 bytes (69 words) - 20:44, 23 September 2021
  • ...won't take damage from bullets, hits, explosions or fire. A damage proof's vehicle health can still be changed via script. bool setVehicleDamageProof ( vehicle theVehicle, bool damageProof )
    952 bytes (115 words) - 23:54, 17 December 2014
  • {{Vehicle colors}} {{Vehicle functions}}
    357 bytes (45 words) - 21:48, 21 February 2021
  • {{New feature/item|3|1.0||This function returns a vehicle's engine state (on or off).}} bool getVehicleEngineState ( vehicle theVehicle )
    1 KB (127 words) - 18:59, 19 September 2018
  • Spawns a vehicle at any given position and rotation bool spawnVehicle ( vehicle theVehicle, float x, float y, float z [, float rx, float ry, float rz ] )
    1 KB (203 words) - 01:36, 20 June 2016
  • This will tell you if a vehicle's petrol tank is explodable. <syntaxhighlight lang="lua">bool isVehicleFuelTankExplodable ( vehicle theVehicle )</syntaxhighlight>
    1 KB (158 words) - 07:32, 16 February 2013
  • ...he current gravity vector of a vehicle. This is the direction in which the vehicle falls, also the cameras of any passengers will be rotated to match it. <syntaxhighlight lang="lua">float float float getVehicleGravity ( vehicle theVehicle )</syntaxhighlight>
    938 bytes (123 words) - 11:41, 12 July 2017
  • ...s from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]] For more functions, check the [[Useful_Functions|useful functions page]].
    2 KB (212 words) - 23:30, 29 April 2024
  • This function toggles whether or not the vehicle will be respawned after blown or idle. <syntaxhighlight lang="lua">bool toggleVehicleRespawn ( vehicle theVehicle, bool Respawn )</syntaxhighlight>
    1,009 bytes (120 words) - 23:51, 17 December 2014
  • This function returns a table of the current vehicle handling data. {{OOP||[[vehicle]]:getHandling|handling}}
    1 KB (188 words) - 15:43, 13 October 2014
  • This event is fired when a player has entered a vehicle. vehicle theVehicle, int seat
    966 bytes (119 words) - 18:31, 29 November 2020
  • ...the current handling of a vehicle, or [[getModelHandling]] for a specific vehicle model. *'''modelID:''' The vehicle ID you wish to get the original handling from.
    2 KB (208 words) - 20:55, 10 October 2015
  • This function sets the rotation the vehicle will respawn to. <syntaxhighlight lang="lua">bool setVehicleRespawnRotation ( vehicle theVehicle, float rx, float ry, float rz )</syntaxhighlight>
    1 KB (141 words) - 10:44, 6 September 2018
  • ...and the varying types of a motor bike. For the default variant list see: [[Vehicle variants]]. <syntaxhighlight lang="lua">int, int getVehicleVariant ( vehicle theVehicle )</syntaxhighlight>
    1 KB (177 words) - 12:43, 19 September 2021
  • This function attaches a trailer type vehicle to a trailer-towing-type vehicle. <syntaxhighlight lang="lua">bool attachTrailerToVehicle ( vehicle theVehicle, vehicle theTrailer )</syntaxhighlight>
    945 bytes (105 words) - 15:46, 13 October 2014
  • This example create a vehicle attached to window, then detach and destroy only window local vehicle = createVehicle(411,0,0,3)
    1 KB (145 words) - 21:38, 3 May 2021
  • Checks to see if a vehicle has contact with the ground. bool isVehicleOnGround ( vehicle theVehicle )
    1 KB (138 words) - 21:15, 31 January 2022
  • The vehicle class represents vehicles in the GTA world. Vehicles can be occupied and co The element type of this class is '''"vehicle"'''.
    3 KB (384 words) - 06:57, 1 January 2022
  • This function is used to retrieve a vehicle's turning velocity for each axis. float float float getVehicleTurnVelocity ( vehicle theVehicle )
    1 KB (141 words) - 22:56, 29 April 2024
  • This function gets the [[vehicle]] that the player is currently in, if any. <syntaxhighlight lang="lua">vehicle getPlayerOccupiedVehicle ( player thePlayer )</syntaxhighlight>
    1 KB (127 words) - 16:13, 13 February 2015
  • This event is triggered when a vehicle starts to drown in water. This event is even triggered when vehicles merely The source of this event is the [[vehicle]] that is drowning.
    724 bytes (95 words) - 13:03, 4 October 2016
  • This function is used to get the vehicle being towed by another. <syntaxhighlight lang="lua">vehicle getVehicleTowedByVehicle ( vehicle theVehicle )</syntaxhighlight>
    1 KB (118 words) - 23:11, 17 December 2014
  • This function gets the position of a vehicle's turret, if it has one. Vehicles with turrets include firetrucks and tanks <syntaxhighlight lang="lua">float, float getVehicleTurretPosition ( vehicle turretVehicle )</syntaxhighlight>
    1 KB (196 words) - 23:35, 17 December 2014
  • This function sets the time delay (in milliseconds) the vehicle will remain wrecked before respawning. <syntaxhighlight lang="lua">bool setVehicleRespawnDelay ( vehicle theVehicle, int timeDelay )</syntaxhighlight>
    1 KB (143 words) - 23:20, 17 December 2014
  • This function sets the time delay (in milliseconds) the vehicle will remain at its position while empty. <syntaxhighlight lang="lua">bool setVehicleIdleRespawnDelay ( vehicle theVehicle, int timeDelay )</syntaxhighlight>
    1 KB (154 words) - 23:49, 17 December 2014
  • This function changes the paintjob on the specified vehicle. <br/> <syntaxhighlight lang="lua">bool setVehiclePaintjob ( vehicle theVehicle, int value )</syntaxhighlight>
    850 bytes (103 words) - 17:13, 15 April 2014
  • This function returns a [[vehicle]] engine speed. You will also need a function to [[getElementSpeed]]. <syntaxhighlight lang="lua">vehicle getVehicleRPM (vehicle)</syntaxhighlight>
    2 KB (136 words) - 22:22, 12 December 2020
  • ...nction gets the state of the helicopter blades collisions on the specified vehicle. bool getHeliBladeCollisionsEnabled ( vehicle theVehicle )
    1 KB (139 words) - 14:06, 31 December 2014
  • This function turns a vehicle's engine on or off. Note that the engine will always be turned on when some bool setVehicleEngineState ( vehicle theVehicle, bool engineState )
    2 KB (219 words) - 09:01, 4 November 2020
  • This function sets the dirt level on a vehicle. bool setVehicleDirtLevel ( vehicle theVehicle, int dirtLevel )
    734 bytes (96 words) - 21:36, 2 November 2023
  • This function will set the taxi light on in a taxi (vehicle ID's 420 and 438) bool setVehicleTaxiLightOn ( vehicle taxi, bool LightState )
    1 KB (143 words) - 02:25, 1 August 2018
  • {{New feature/item|3.0153|1.5.3|7405|This function gets the vehicle window state.}} bool isVehicleWindowOpen ( vehicle theVehicle, int window )
    1 KB (158 words) - 17:15, 22 October 2016
  • This will tell you if a vehicle is locked. <syntaxhighlight lang="lua">bool isVehicleLocked ( vehicle theVehicle )</syntaxhighlight>
    2 KB (189 words) - 07:51, 4 November 2020
  • ...spawnPosition]] or the position and rotation it was created on. To spawn a vehicle to a specific location just once, [[spawnVehicle]] can be used. bool respawnVehicle ( vehicle theVehicle )
    1 KB (154 words) - 06:33, 13 October 2023
  • This function gets the current paintjob on the specified vehicle. <br /> <syntaxhighlight lang="lua">int getVehiclePaintjob ( vehicle theVehicle )</syntaxhighlight>
    1 KB (139 words) - 04:22, 11 August 2019
  • This function get [[vehicle]] engine speed. You will also need a function to [[getElementSpeed]]. <syntaxhighlight lang="lua">vehicle getVehicleRPM (vehicle)</syntaxhighlight>
    2 KB (162 words) - 08:07, 29 March 2018
  • This function is used to get the vehicle that is towing another. <syntaxhighlight lang="lua">vehicle getVehicleTowingVehicle ( vehicle theVehicle )</syntaxhighlight>
    1,007 bytes (112 words) - 23:12, 17 December 2014
View (previous 50 | ) (20 | 50 | 100 | 250 | 500)