The FiveM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / FiveM
Native reference
- PEDvoid
0xA9B61A329BFDCBEA
Description not yet documented
0xA9B61A329BFDCBEA - PEDAny
0xAAA6A3698A69E048
Description not yet documented
0xAAA6A3698A69E048 - PEDvoid
0xAD27D957598E49E9
``` NativeDB Introduced: v1290 ```
0xAD27D957598E49E9 - PEDvoid
0xAFC976FD0580C7B3
``` SET_PED_* ```
0xAFC976FD0580C7B3 - PEDvoid
0xB282749D5E028163
**This native does absolutely nothing, just a nullsub**
0xB282749D5E028163 - PEDvoid
0xB3352E018D6F89DF
``` _SET_PED_HEAD_* - _SET_PED_HEARING_* _SET_PED_HEALTH_... ``` ``` NativeDB Introduced: v2699 ```
0xB3352E018D6F89DF - PEDBOOL
0xB8B52E498014F5B0
Description not yet documented
0xB8B52E498014F5B0 - PEDvoid
0xC2EE020F5FB4DB53
Description not yet documented
0xC2EE020F5FB4DB53 - PEDAny
0xC30BDAEE47256C13
``` NativeDB Introduced: v1868 ```
0xC30BDAEE47256C13 - PEDAny
0xC56FBF2F228E1DAC
Description not yet documented
0xC56FBF2F228E1DAC - PEDvoid
0xCD018C591F94CB43
``` REQUEST_* ```
0xCD018C591F94CB43 - PEDvoid
0xCEDA60A74219D064
Description not yet documented
0xCEDA60A74219D064 - PEDvoid
0xD33DAA36272177C4
Description not yet documented
0xD33DAA36272177C4 - PEDvoid
0xDFE68C4B787E1BFB
``` NativeDB Introduced: v1180 ```
0xDFE68C4B787E1BFB - PEDvoid
0xE906EC930F5FE7C8
Description not yet documented
0xE906EC930F5FE7C8 - PEDint
0xEA9960D07DADCF10
Description not yet documented
0xEA9960D07DADCF10 - PEDvoid
0xEC4B4B3B9908052A
``` SET_PED_* Has most likely to do with some shooting attributes as it sets the float which is in the same range as shootRate. ```
0xEC4B4B3B9908052A - PEDvoid
0xED3C76ADFA6D07C4
``` FORCE_* ```
0xED3C76ADFA6D07C4 - PEDAny
0xF033419D1B81FAE8
``` GET_* ```
0xF033419D1B81FAE8 - PEDBOOL
0xF2385935BFFD4D92
Initial guess of native: `_IS_PED_WEARING_MOTORCYCLE_HELMET`.
0xF2385935BFFD4D92 - PEDvoid
0xF2BEBCDFAFDAA19E
``` SET_PED_ALLOW* toggle was always false except in one instance (b678). The one time this is set to true seems to do with when you fail the mission. ```
0xF2BEBCDFAFDAA19E - PEDvoid
0xFAB944D4D481ACCB
SET_A\* ``` NativeDB Introduced: v1734 ```
0xFAB944D4D481ACCB - PEDvoid
0xFD325494792302D7
Description not yet documented
0xFD325494792302D7 - PEDBOOL
0xFEC9A3B1820F3331
Native to check whether [`_SET_PED_SCUBA_GEAR_VARIATION`](#\_0x36C6984C3ED0C911) is enabled/actived.
0xFEC9A3B1820F3331 - PEDvoid
0xFF4803BC019852D9
``` Related to Peds dropping pickup_health_snack; p0 is a value between [0.0, 1.0] that corresponds to drop rate ```
0xFF4803BC019852D9 - PEDvoid
ADD_ARMOUR_TO_PED
``` Same as SET_PED_ARMOUR, but ADDS 'amount' to the armor the Ped already has. ```
0x5BA652A0CD14DF2F - PEDvoid
ADD_PED_DECORATION_FROM_HASHES
``` Applies an Item from a PedDecorationCollection to a ped. These include tattoos and shirt decals. collection - PedDecorationCollection filename hash overlay - Item name hash Example: Entry inside "mpbeach_overlays.xml" - <Item> <uvPos x="0.500000" y="0.500000" /> <scale x="0.600000" y="0.500000" /> <rotation value="0.000000" /> <nameHash>FM_Hair_Fuzz</nameHash> <txdHash>mp_hair_fuzz</txdHash> <txtHash>mp_hair_fuzz</txtHash> <zone>ZONE_HEAD</zone> <type>TYPE_TATTOO</type> <faction>FM</faction> <garment>All</garment> <gender>GENDER_DONTCARE</gender> <award /> <awardLevel /> </Item> Code: PED::_0x5F5D1665E352A839(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY("mpbeach_overlays"), MISC::GET_HASH_KEY("fm_hair_fuzz")) ```
0x5F5D1665E352A839 - PEDvoid
ADD_PED_DECORATION_FROM_HASHES_IN_CORONA
Description not yet documented
0x5619BFA07CFD7833 - PEDAny
ADD_RELATIONSHIP_GROUP
``` Can't select void. This function returns nothing. The hash of the created relationship group is output in the second parameter. ```
0xF372BC22FCB88606 - PEDint
ADD_SCENARIO_BLOCKING_AREA
Sets an area where scenarios are blocked
0x1B5C85C612E5256E - PEDvoid
APPLY_DAMAGE_TO_PED
``` damages a ped with the given amount ---- armorFirst means it will damage/lower the armor first before damaging the player. setting damageAmount to a negative amount will cause the player or the armor (depending on armorFirst) to be healed by damageAmount instead. ``` ``` NativeDB Added Parameter 4: Any p3 ```
0x697157CED63F18D4 - PEDvoid
APPLY_PED_BLOOD
``` Found one occurence in re_crashrescue.c4 PED::APPLY_PED_BLOOD(l_4B, 3, 0.0, 0.0, 0.0, "wound_sheet"); ```
0x83F7E01C7B769A26 - PEDvoid
APPLY_PED_BLOOD_BY_ZONE
Description not yet documented
0x3311E47B91EDCBBC - PEDvoid
APPLY_PED_BLOOD_DAMAGE_BY_ZONE
Description not yet documented
0x816F6981C60BF53B - PEDvoid
APPLY_PED_BLOOD_SPECIFIC
Applies blood damage to a ped with specific parameters for zone, UV offsets, rotation, scale, and initial aging. ``` NativeDB Introduced: v323 ```
0xEF0D582CBF2D9B0F - PEDvoid
APPLY_PED_DAMAGE_DECAL
``` scar blushing cs_flush_anger cs_flush_anger_face bruise bruise_large herpes ArmorBullet basic_dirt_cloth basic_dirt_skin cs_trev1_dirt ```
0x397C38AA7B4A5F83 - PEDvoid
APPLY_PED_DAMAGE_PACK
``` Damage Packs: "SCR_TrevorTreeBang" "HOSPITAL_0" "HOSPITAL_1" "HOSPITAL_2" "HOSPITAL_3" "HOSPITAL_4" "HOSPITAL_5" "HOSPITAL_6" "HOSPITAL_7" "HOSPITAL_8" "HOSPITAL_9" "SCR_Dumpster" "BigHitByVehicle" "SCR_Finale_Michael_Face" "SCR_Franklin_finb" "SCR_Finale_Michael" "SCR_Franklin_finb2" "Explosion_Med" "SCR_Torture" "SCR_TracySplash" "Skin_Melee_0" Additional damage packs: gist.github.com/alexguirre/f3f47f75ddcf617f416f3c8a55ae2227 ```
0x46DF918788CB093F - PEDvoid
ATTACH_SYNCHRONIZED_SCENE_TO_ENTITY
Description not yet documented
0x272E4723B56A3B96 - PEDvoid
_BLOCK_PED_DEAD_BODY_SHOCKING_EVENTS
Description not yet documented
0xE43A13C9E4CCCBCF - PEDBOOL
CAN_CREATE_RANDOM_BIKE_RIDER
Description not yet documented
0xEACEEDA81751915C
A living reference. Documentation coverage varies by native and source.