Search results

Jump to navigation Jump to search
  • The word "ped" is short for "pedestrian" and describes any person in GTA, be it a player The [[createPed]] function specifically creates an NPC, but all other ped functions work on both players and NPC's as they're pretty much the same thing to San
    1 KB (185 words) - 20:18, 14 April 2021
  • {{Added feature/item|1.5.9|1.5.8|20740|This event is fired when a [[ped]] has exited a [[vehicle]].}} *'''theVehicle:''' The vehicle that the [[ped]] exited.
    1,002 bytes (119 words) - 21:02, 23 September 2021
  • {{Added feature/item|1.5.9|1.5.8|20740|This event is fired when a [[ped]] has entered a [[vehicle]].}} *'''theVehicle:''' The [[vehicle]] that the [[ped]] entered.
    1 KB (133 words) - 21:01, 23 September 2021
  • This function returns the current gravity for the specified [[ped]]. The default gravity is 0.008. float getPedGravity ( ped thePed )
    886 bytes (102 words) - 14:30, 7 October 2018
  • ...1.5.8|20935|This function gets the state of a [[player|player's]] or [[ped|ped's]] bleeding effect.}} <syntaxhighlight lang="lua">bool isPedBleeding ( ped thePed ) </syntaxhighlight>
    892 bytes (100 words) - 20:55, 23 September 2021
  • {{New feature/item|3.0141|1.4.1|6945|Returns the walking style ID of a ped. This ID determines the set of animations that is used for walking, running <syntaxhighlight lang="lua">int getPedWalkingStyle ( ped thePed )</syntaxhighlight>
    920 bytes (108 words) - 15:01, 24 July 2018
  • This function returns the current armor of the specified [[ped]]. <syntaxhighlight lang="lua">float getPedArmor ( ped thePed )</syntaxhighlight>
    847 bytes (105 words) - 16:33, 3 August 2020
  • A "ped" szó a "pedestrian" rövidítése és meghatározza az összes személyt a .../createPed|createPed]] funkció kifejezetten NPC-t hoz létre, de minden más ped funkció működik a játékoson is, és az NPC-ken is, mivel nagyjából
    2 KB (251 words) - 20:19, 14 April 2021
  • Changes the voice of a ped. {{Note|A ped voice is one of the GTA built in voice character types. Not to be confused
    924 bytes (119 words) - 20:43, 15 December 2021
  • Sets a ped's audio type. <syntaxhighlight lang="lua">bool setPedAudioType ( ped thePed, string audio )</syntaxhighlight>
    564 bytes (79 words) - 01:48, 1 March 2014
  • This function is used to remove a ped's jetpack. <syntaxhighlight lang="lua">bool removePedJetPack ( ped thePed )</syntaxhighlight>
    919 bytes (105 words) - 09:06, 9 November 2018
  • This event is fired when a ped chokes due to the effect of a weapon such as tear gas grenades, fire exting int weaponID, ped responsiblePed
    1 KB (139 words) - 01:57, 2 March 2012
  • This function gets a ped's selected weapon slot. int getPedWeaponSlot ( ped thePed )
    813 bytes (93 words) - 17:37, 6 August 2016
  • Gets the current voice of a ped. <syntaxhighlight lang="lua">string, string getPedVoice ( ped thePed )</syntaxhighlight>
    896 bytes (116 words) - 09:56, 21 June 2019
  • Această funcție returnează armura curentă unui ped specificat. [[ped]] <syntaxhighlight lang="lua">float getPedArmor ( ped thePed )</syntaxhighlight>
    875 bytes (107 words) - 16:27, 15 March 2023
  • This function removes every weapons from a specified [[ped]], rendering it unarmed. ...fault. This means that it is only appropriate to use this function while a ped is alive.}}
    848 bytes (109 words) - 07:09, 4 November 2020
  • This function checks if the specified [[ped]] is on fire or not. <syntaxhighlight lang="lua">bool isPedOnFire ( ped thePed )</syntaxhighlight>
    768 bytes (96 words) - 21:05, 18 May 2020
  • {{Added feature/item|1.6.1|1.6.0|21874|Resets the voice of a ped to a default one.}} {{Note|A ped voice is one of the GTA built in voice character types. Not to be confused
    881 bytes (106 words) - 17:24, 21 October 2023
  • Sets the walking style of a ped. A walking style consists of a set of animations that are used for walking, <syntaxhighlight lang="lua">bool setPedWalkingStyle ( ped thePed, int style )</syntaxhighlight>
    975 bytes (118 words) - 16:34, 11 April 2015
  • ...9|1.5.8|20935|This function allows you to set [[player|player's]] or [[ped|ped's]] bleeding effect.}} <syntaxhighlight lang="lua">bool setPedBleeding ( ped thePed, bool bleeding ) </syntaxhighlight>
    912 bytes (107 words) - 14:42, 1 October 2021
  • This functions gets the maximum oxigen level a [[ped]] should have, considering its max underwater stamina (225) and stamina (22 float getPedMaxOxygenLevel ( ped thePed )
    2 KB (246 words) - 20:06, 16 July 2019
  • bool reloadPedWeapon ( ped thePed ) {{OOP||[[ped]]:reloadWeapon}}
    1 KB (145 words) - 05:29, 11 August 2019
  • This function checks if the specified [[ped]] is ducked (crouched) or not. <syntaxhighlight lang="lua">bool isPedDucked ( ped thePed )</syntaxhighlight>
    1 KB (172 words) - 23:05, 8 July 2018
  • This functions gets the maximum health a [[ped]] should have, considering its max health (24) [[Template:Stats|stat]]. float getPedMaxHealth ( ped thePed )
    2 KB (234 words) - 09:22, 26 July 2014
  • This event is triggered when a [[ped]] or [[player]] starts exiting a vehicle. Once the exiting animation comple ped thePed, int seat, int door
    1 KB (145 words) - 13:03, 29 November 2020
  • Ez a function visszaadja egy [[ped]] jelenlegi páncélját. <syntaxhighlight lang="lua">float getPedArmor ( ped thePed )</syntaxhighlight>
    982 bytes (135 words) - 17:37, 29 September 2018
  • This event is triggered whenever a [[ped]] is damaged. ...] [[element]] representing the attacker or [[vehicle]] [[element]] (when a ped falls of a bike).
    1 KB (165 words) - 10:32, 30 January 2022
  • Retrieves the fighting style a player/ped is currently using. int getPedFightingStyle ( ped thePed )
    1 KB (130 words) - 12:11, 13 February 2019
  • Ez a function visszaadja a megadott [[ped]] akutális gravitációját. Az alapértelmezett gravitáció 0.008. float getPedGravity ( ped thePed )
    1 KB (149 words) - 14:38, 7 October 2018
  • ...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 gets the seat that a specific ped is sitting in in a vehicle. <syntaxhighlight lang="lua">int getPedOccupiedVehicleSeat ( ped thePed )</syntaxhighlight>
    1 KB (158 words) - 21:00, 20 June 2018
  • {{Added feature/item|1.5.9|1.5.8|20740|This function makes a [[ped]] exit a [[vehicle]], similar to the enter_exit control state.}} bool setPedExitVehicle ( ped thePed )
    1 KB (183 words) - 17:27, 2 January 2022
  • This function checks if the specified [[ped]] is choking (coughing) or not. This happens as a result of weapons that pr <syntaxhighlight lang="lua">bool isPedChoking ( ped thePed )</syntaxhighlight>
    1,017 bytes (132 words) - 17:25, 26 November 2014
  • ...diately. This works for drivers and passengers. Note that this removes the ped from the vehicle and puts him in the exact position where the command was i bool removePedFromVehicle ( ped thePed )
    1 KB (205 words) - 15:42, 3 April 2018
  • A palavra "ped" é um encurtado de "pedestrian" que significa ''pedestre'' e descreve qual ...[[createPed]] cria especificamente um NPC, mas todas as outras funções de ped funcionam para jogadores e NPC, pois eles são praticamente a mesma coisa p
    1 KB (194 words) - 21:12, 6 February 2020
  • This function gets the current camera rotation of a [[ped]]. float getPedCameraRotation( ped thePed )
    1 KB (138 words) - 17:11, 8 October 2018
  • This function can be used to set a ped on fire or extinguish a fire on it. bool setPedOnFire ( ped thePed, bool isOnFire )
    1 KB (128 words) - 05:37, 26 August 2021
  • This function checks if the specified [[ped]] is dead or not. <syntaxhighlight lang="lua">bool isPedDead ( ped thePed )</syntaxhighlight>
    994 bytes (130 words) - 17:24, 26 November 2014
  • ...unction is used to give or take a jetpack from a ped, it won't work if the ped is in a vehicle. ...til [[isPedWearingJetpack]] returns true. Alternatively, you can force the ped into a 'safe' position (e.g. standing on the ground) before giving the jetp
    1 KB (183 words) - 14:13, 27 April 2020
  • This function retrieves the analog control state of a ped, as set by [[setPedAnalogControlState]]. <syntaxhighlight lang="lua">float getPedAnalogControlState ( ped thePed, string controlName )</syntaxhighlight>
    761 bytes (92 words) - 16:02, 25 September 2018
  • This event is fired when a ped is killed due to the effect of a helicopter blades. The source of this event is the [[ped]] who was killed
    1 KB (150 words) - 22:24, 24 June 2019
  • Эта функция проверяет если указанный [[ped]] нырнул (присел) или нет. <syntaxhighlight lang="lua">bool isPedDucked ( ped thePed )</syntaxhighlight>
    1 KB (52 words) - 11:34, 10 August 2014
  • This function returns the current move state for the specified [[ped]]. string getPedMoveState ( ped thePed )
    1 KB (202 words) - 13:14, 23 July 2022
  • This function sets the gravity level of a ped. bool setPedGravity ( ped thePed, float gravity )
    1 KB (139 words) - 17:12, 26 November 2014
  • Ta funkcja zabiera wszystkie bronie wskazanemu [[ped|pedowi lub graczowi]]. {{PL/Note|Bronie zostają domyślnie usunięte kiedy gracz lub ped zginie. To znaczy, że funkcja powinna zostać użyta kiedy wskazany elemen
    1 KB (125 words) - 17:48, 13 September 2018
  • Visszaadja a player/ped jelenleg használt harci stílusát. int getPedFightingStyle ( ped thePed )
    1 KB (166 words) - 14:23, 7 October 2018
  • This function retrieves the analog control state of a [[ped]], as set by [[setPedAnalogControlState]]. <syntaxhighlight lang="lua">float getPedAnalogControlState ( ped thePed, string controlName [, bool rawValue ] )</syntaxhighlight>
    2 KB (191 words) - 01:30, 12 December 2023
  • This event gets fired when a [[player]] or [[ped]] enters a vehicle. ped thePed, int seat
    2 KB (181 words) - 12:55, 29 November 2020
  • ...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 health for the specified [[element]]. This can be a [[ped]] or [[player]]. bool setPedMaxHealth ( ped thePed )
    2 KB (302 words) - 08:19, 13 August 2016
  • This event gets fired when a [[ped]] or [[player]] gets out of a vehicle. ped thePed, int seat
    1 KB (149 words) - 14:24, 31 August 2023
  • This function checks if the ped is in the driveby state. bool isPedDoingGangDriveby ( ped thePed )
    1 KB (135 words) - 09:31, 11 February 2019
  • This event is triggered when a [[ped]] or [[player]] starts entering a vehicle. Once the entering animation comp ped thePed, int seat, int door
    1 KB (188 words) - 12:58, 29 November 2020
  • bool setPedFrozen ( ped thePed, bool frozen ) *'''thePed:''' The [[ped]] whose frozen state will be changed.
    969 bytes (115 words) - 20:18, 23 September 2016
  • This event is fired when a ped is hit by a water cannon. ped pedHit
    1 KB (189 words) - 12:14, 8 February 2015
  • Ez a function visszaadja a [[ped]] jelenlegi kamera tengelyforgását. float getPedCameraRotation( ped thePed )
    1 KB (170 words) - 17:21, 8 October 2018
  • This event is triggered whenever a ped dies. *'''killer''': A [[player]], [[ped]] or [[vehicle]] [[element]] representing the killer.
    2 KB (200 words) - 21:38, 14 November 2022
  • This function detects the element a ped is standing on. This can be a vehicle or an object. element getPedContactElement ( ped thePed )
    1 KB (155 words) - 15:15, 5 November 2022
  • This function returns the current move state for the specified [[ped]]. string getPedMoveState ( ped thePed )
    2 KB (226 words) - 17:53, 8 October 2018
  • Checks whether a ped or the localplayer has a certain control pressed. bool getPedControlState ( ped thePed, string control )
    1 KB (164 words) - 03:05, 13 November 2018
  • This function is used to warp or force a ped into a vehicle. There are no animations involved when this happens. {{Important Note|If you used [[setElementPosition]] to spawn the [[ped]]/[[player]], this function will not work and returns '''false'''.}}
    2 KB (220 words) - 19:02, 30 January 2022
  • With this function, you can set if a ped has a head or not. bool setPedHeadless(ped thePed, bool headState)
    1 KB (162 words) - 06:55, 23 August 2021
  • This function makes a [[ped]] or [[player]] press or release a certain [[control names|control]]. {{Note|You can't use enter_exit or enter_passenger on a ped. Please use [[setPedEnterVehicle]] and [[setPedExitVehicle]].}}
    2 KB (303 words) - 09:13, 3 August 2023
  • bool isPedFrozen ( ped thePed ) *'''thePed:''' The [[ped]] whose frozen state will be obtained.
    791 bytes (88 words) - 11:42, 26 June 2014
  • Sets an analog state of a specified [[ped]]'s control, as if they pressed or released it. This function only works on [[ped]]s, to change the analog control state for a player, please use [[setAnalog
    1 KB (167 words) - 00:54, 8 July 2018
  • {{New feature/item|3.0156|1.5.5|13846|Checks whether or not a ped is currently wearing a jetpack.}} bool isPedWearingJetpack ( ped thePed )
    2 KB (205 words) - 20:02, 12 September 2018
  • ==Account functions== ==ACL functions==
    3 KB (285 words) - 12:38, 16 January 2022
  • This function is used to give a ped a jetpack, it won't work if the ped is in a vehicle. ...ntil [[doesPedHaveJetPack]] returns true. Alternatively, you can force the ped into a 'safe' position (e.g. standing on the ground) before giving the jetp
    2 KB (249 words) - 10:20, 30 January 2022
  • ...a zwraca teksturę i model ubrań wybranego typu aktualnie noszonych przez [[ped|NPC]]. string string getPedClothes ( ped thePed, int clothesType )
    1 KB (173 words) - 19:31, 19 July 2016
  • This function sets the camera rotation of a ped, e.g. where its camera will look at. Don't confuse this with [[getCameraMat bool setPedCameraRotation ( ped thePed, float cameraRotation )
    2 KB (209 words) - 18:42, 12 February 2021
  • Ez a function felismeri azt az elemet, amin a ped áll. Ez lehet egy jármű, vagy egy objekt. element getPedContactElement ( ped thePed )
    1 KB (191 words) - 13:28, 7 October 2018
  • This function can be used to force the ped to do the choking (coughing) animation until he respawns or toggled off usi bool setPedChoking ( ped thePed, bool choking )
    1 KB (174 words) - 23:09, 11 January 2023
  • To request a function or event, use [[Requested Functions and Events]]. ==Ped events==
    799 bytes (96 words) - 05:37, 22 March 2016
  • This function kills the specified ped. <syntaxhighlight lang="lua">bool killPed ( ped thePed, [ ped theKiller = nil, int weapon=255, int bodyPart=255, bool stealth = false ] )
    2 KB (253 words) - 10:28, 30 January 2022
  • ...este folosită pentru a vedea texturile hainelor si modelul de pe un ped [[ped]]. string, string getPedClothes ( ped thePed, int clothesType )
    2 KB (211 words) - 08:38, 17 March 2023
  • Ellenőrzi, hogy a ped lenyomott-e egy bizonyos irányítást. bool getPedControlState ( ped thePed, string control )
    2 KB (202 words) - 22:48, 5 November 2018
  • Makes a ped turn his head and look at a specific world position or element. bool setPedLookAt ( ped thePed, float x, float y, float z [, int time = 3000 [, int blend = 1000 ],
    2 KB (309 words) - 18:59, 30 January 2022
  • Changes a ped's fighting style. Most styles only change the 'special attack' which is don bool setPedFightingStyle ( ped thePed, int style )
    1 KB (165 words) - 13:44, 25 October 2020
  • This function sets the driveby state of a ped. bool setPedDoingGangDriveby ( ped thePed, bool state )
    1 KB (148 words) - 22:43, 26 March 2021
  • ...used to get the current clothes texture and model of a certain type on a [[ped]]. string, string getPedClothes ( ped thePed, int clothesType )
    1 KB (179 words) - 10:48, 22 September 2018
  • To request a function or event, use [[Requested Functions and Events]]. ==Ped events==
    969 bytes (118 words) - 14:21, 10 October 2018
  • This event is triggered when a player or ped has exited a vehicle. The source of this event is the [[player]] or [[ped]] that exited the vehicle.
    1,007 bytes (125 words) - 04:41, 20 October 2020
  • Gets the rotation of a ped. float getPedRotation ( ped thePed )
    1 KB (175 words) - 16:33, 13 February 2015
  • ...lable as native functions. To request a function or event, use [[Requested Functions and Events]] or https://bugs.mtasa.com. ...that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.
    3 KB (332 words) - 16:18, 11 April 2021
  • This function allows you to set a ped's aim target to a specific point. If a ped is within a certain range defined by [[getPedTargetStart]] and [[getPedTarg ''Note: If you wish to make a ped shoot you must use this in conjunction with an equipped weapon and [[setPed
    2 KB (359 words) - 14:26, 21 September 2023
  • *[[Ped]] ...e command ''togglecol'' which toggles the collision between the player and ped.
    2 KB (224 words) - 16:06, 23 December 2023
  • Ta funkcja odpowiedzialna jest za ustawianie procentów kamizelki dla [[ped]]. bool setPedArmor ( ped thePed, float armor )
    1 KB (174 words) - 10:01, 11 April 2018
  • Ez a function arra szolgál, hogy a [[ped|peden]] lévő ruhatípus textúráját és modeljét megkapjuk. string, string getPedClothes ( ped thePed, int clothesType )
    2 KB (232 words) - 18:44, 9 October 2018
  • ...scripting functions that have been implemented and are available as native functions. To request a function, create an issue in [https://github.com/multitheftau ...that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.
    3 KB (358 words) - 12:59, 30 April 2024
  • This event is called when ped shoots a weapon. This does not trigger for projectiles based, or melee wea The [[event system#Event source|source]] of this event is the [[ped]] who fired the weapon.
    1 KB (169 words) - 03:12, 30 September 2019
  • The [[event system#Event source|source]] of this event is the [[ped]] who stepped. ===Client ped events===
    1,008 bytes (121 words) - 21:03, 5 April 2020
  • With this function, you can check if a ped has a head or not. bool isPedHeadless(ped thePed)
    1 KB (190 words) - 13:15, 5 August 2021
  • <syntaxhighlight lang="lua">ped createPed ( int modelid, float x, float y, float z [, float rot = 0.0, bool ...ntând dacă [[ped]]-ul să fie sincronizat. Oprind sincronizarea va creea un ped static sau înghețat, dar va îmbunătăți performanța serverului.
    2 KB (289 words) - 13:34, 29 October 2013
  • Creates a Ped in the GTA world. <syntaxhighlight lang="lua">ped createPed ( int modelid, float x, float y, float z [, float rot = 0.0, bool
    3 KB (353 words) - 05:59, 5 November 2023
  • Aby zażądać funkcji lub zdarzenia, użyj [[Requested Functions and Events]] or https://bugs.mtasa.com. ==Account functions==
    3 KB (344 words) - 11:15, 16 December 2020
  • This function is used to set the current clothes on a [[ped]]. bool addPedClothes ( ped thePed, string clothesTexture, string clothesModel, int clothesType )
    2 KB (239 words) - 18:32, 21 February 2021
  • To request a function or event, use [[Requested Functions and Events]]. ==Ped events==
    1 KB (139 words) - 05:35, 22 March 2016
  • <syntaxhighlight lang="lua">bool killPed ( ped bot, [ ped ucigas = nil, int arma=255, int parteaCorpului=255, bool stealth = false ] * '''bot:''' [[ped]]-ul pe care să îl omori
    2 KB (238 words) - 13:13, 29 October 2013
  • This function is used to return the animation data of a [[player]] or [[ped]] that was set using [[setPedAnimation]]. string getPedAnimationData ( ped thePed )
    1 KB (205 words) - 17:09, 6 July 2016
  • ...é utilizada para definir as roupas atuais de um determinado [[Elemento/Ped|ped]]. bool addPedClothes ( ped thePed, string clothesTexture, string clothesModel, int clothesType )
    2 KB (243 words) - 01:07, 11 March 2020
View (previous 100 | ) (20 | 50 | 100 | 250 | 500)