Search results

Jump to navigation Jump to search
  • ...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
View ( | ) (20 | 50 | 100 | 250 | 500)