Search results

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