Search results

Jump to navigation Jump to search
  • ...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
  • ...scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function, create an issue in [https:/ For more functions, check the [[Useful_Functions|useful functions page]].
    2 KB (269 words) - 21:33, 29 April 2024
  • This function sets the position of a vehicle's turret, if it has one. This can be used to influence the turret's rotatio <syntaxhighlight lang="lua">bool setVehicleTurretPosition ( vehicle turretVehicle, float positionX, float positionY )</syntaxhighlight>
    1 KB (170 words) - 23:23, 17 December 2014
  • This function returns whether the sirens are turned on for the specified vehicle. bool getVehicleSirensOn ( vehicle theVehicle )
    1 KB (153 words) - 09:44, 12 September 2018
  • {{OOP|This function is a static function underneath the Vehicle class.|[[Vehicle]].getAllOfType||}} -- Loop through the vehicle list
    1 KB (135 words) - 19:44, 1 September 2021
  • This function is used to check whether a vehicle's landing gear is down or not. Only planes can be used with this function. bool getVehicleLandingGearDown ( vehicle theVehicle )
    1 KB (159 words) - 06:24, 17 June 2023
  • ==Account functions== ==ACL functions==
    3 KB (285 words) - 12:38, 16 January 2022
  • This function is used to retrieve the text on the number plate of a specified vehicle. string getVehiclePlateText ( vehicle theVehicle )
    2 KB (217 words) - 20:33, 13 October 2014
  • This event gets fired when a [[ped]] or [[player]] gets out of a vehicle. *'''thePed:''' the [[player]] or [[ped]] element that exited the vehicle
    1 KB (149 words) - 14:24, 31 August 2023
  • ...vehicle's door is open. Doors include the boot/trunk and the bonnet of the vehicle. bool setVehicleDoorOpenRatio ( vehicle theVehicle, int door, float ratio [, int time = 0 ] )
    1 KB (179 words) - 20:00, 25 July 2018
  • float getVehicleDoorOpenRatio ( vehicle theVehicle, int door ) {{OOP||[[vehicle]]:getDoorOpenRatio||setVehicleDoorOpenRatio}}
    1 KB (144 words) - 23:45, 17 December 2014
View ( | ) (20 | 50 | 100 | 250 | 500)