Search results
Jump to navigation
Jump to search
- *[[Damage Types]] *[[Vehicle IDs]]1 KB (128 words) - 20:35, 21 February 2021
- *[[Damage Types]] *[[Vehicle Colors]]1 KB (183 words) - 07:20, 1 January 2022
- ...When executed on the server-side resources, the damage will be synched for all players, whereas the change is only client-side if the function is used in <syntaxhighlight lang="lua">bool setVehiclePanelState ( vehicle theVehicle, int panelID, int state )</syntaxhighlight>2 KB (264 words) - 22:29, 6 April 2018
- This function retrieves the model ID of a vehicle as an [[int]]eger value from its name. {{OOP|This function is a static function underneath the Vehicle class.|[[Vehicle]].getModelFromName}}2 KB (318 words) - 19:53, 26 May 2017
- '''Note:''' You can only use this function with the element types listed below. *[[Vehicle]]2 KB (208 words) - 21:31, 7 October 2022
- ...mple you could use it to associate a score with a player, or a team with a vehicle. ..., you may not send tables which contain one or more values of any of these types.2 KB (261 words) - 16:38, 8 April 2024
- This event is triggered when a vehicle is damaged. ...cifying the [[Weapons|weapon ID]] if a weapon was used. Otherwise [[Damage Types|Damage Type ID]] is used.3 KB (382 words) - 13:51, 28 November 2019
- ...where'' in the element tree it is. It can be used with either the built in types (listed below) or with any custom type used in a .map file. For example, if ...file, so this can be used with a custom element type if desired. Built in types can be found here: [[Element]]6 KB (823 words) - 20:00, 14 October 2018
- ...the resulting X axis (''right''). This is the default rotation order for [[vehicle|vehicles]] ...(set using ''"default"'' on peds) can not be set manually on other element types since it only exists due to historical and backward compatibility reasons.4 KB (570 words) - 02:26, 3 March 2023
- * Client - Deathmatch: Where MTA makes all it's functions and events do stuff. ...function calls to the game so each element will have a game_sa class like Vehicle, Ped, Object etc.5 KB (671 words) - 17:37, 12 March 2020
- ...ool layered = false, string elementTypes = "world,ped,vehicle,object,other,all" ] ) ''All the following optional arguments are only relevant when the shader is used8 KB (1,035 words) - 23:18, 8 February 2023
- Only [[vehicle]] and [[ped]] elements can have a syncer, other element types are not currently automatically synced by MTA. ...and your setting will be lost. With vehicles, the last occupant to leave a vehicle will be selected as the syncer and override any setting you may have made.3 KB (383 words) - 23:15, 30 March 2024
- ...float maxDistance = 0, bool layered = false, string elementTypes = "world,vehicle,object,other" ] ) ...seperated list of element types to restrict this shader to. Valid element types are:3 KB (462 words) - 14:56, 15 December 2020
- This event is triggered when a vehicle collides with an [[element]] or a world object. ...e vehicle by default (this event triggers when hitting lamp posts, but the vehicle isn't damaged by them automatically, for example). If you want to deal with4 KB (540 words) - 10:35, 30 January 2022
- ...file, so this can be used with a custom element type if desired. Built in types are: **'''"vehicle":''' A vehicle3 KB (400 words) - 03:29, 1 January 2015
- *[[Vehicle]]s g_Players = getElementsByType("player") -- get a list of all players in the server3 KB (398 words) - 18:03, 12 March 2024
- This section outlines all the Lua capabilites MTA or resources provide. * [[MTA Classes]] - Detailed descriptions of all MTA custom types4 KB (590 words) - 16:50, 23 January 2022
- * When using with a 'ped', ensure you have set 'ped' or 'all' in the elementTypes when calling [[dxCreateShader]] ...ything using the texture name. Valid element types for targetElement are [[vehicle|vehicles]], [[Object|objects]] and [[Ped|peds]].4 KB (501 words) - 23:50, 1 November 2022
- This section outlines all the Lua capabilites MTA or resources provide. * [[MTA Classes]] - Detailed descriptions of all MTA custom types8 KB (1,118 words) - 00:49, 27 May 2019
- This section outlines all the Lua capabilites MTA or resources provide. * [[MTA Classes]] - Detailed descriptions of all MTA custom types8 KB (1,130 words) - 20:31, 31 May 2022