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
- PEDBOOL
CAN_CREATE_RANDOM_COPS
Description not yet documented
0x5EE2CAFF7F17770D - PEDBOOL
CAN_CREATE_RANDOM_DRIVER
Description not yet documented
0xB8EB95E5B4E56978 - PEDBOOL
CAN_CREATE_RANDOM_PED
Description not yet documented
0x3E8349C08E4B82E4 - PEDBOOL
CAN_KNOCK_PED_OFF_VEHICLE
Description not yet documented
0x51AC07A44D4F5B8A - PEDBOOL
CAN_PED_IN_COMBAT_SEE_TARGET
Description not yet documented
0xEAD42DE3610D0721 - PEDBOOL
CAN_PED_RAGDOLL
``` Prevents the ped from going limp. [Example: Can prevent peds from falling when standing on moving vehicles.] ```
0x128F79EDCECE4FD5 - PEDBOOL
CAN_PED_SEE_HATED_PED
Description not yet documented
0x6CD5A433374D4CFB - PEDvoid
CLEAR_ALL_PED_PROPS
Description not yet documented
0xCD8A7537A9B52F06 - PEDvoid
CLEAR_ALL_PED_VEHICLE_FORCED_SEAT_USAGE
Description not yet documented
0xE6CA85E7259CE16B - PEDvoid
_CLEAR_FACIAL_CLIPSET_OVERRIDE
``` NativeDB Introduced: v1493 ```
0x637822DC2AFEEBF8 - PEDvoid
CLEAR_FACIAL_IDLE_ANIM_OVERRIDE
Description not yet documented
0x726256CC1EEB182F - PEDvoid
CLEAR_PED_ALTERNATE_MOVEMENT_ANIM
Description not yet documented
0xD8D19675ED5FBDCE - PEDvoid
CLEAR_PED_ALTERNATE_WALK_ANIM
Description not yet documented
0x8844BBFCE30AA9E9 - PEDvoid
CLEAR_PED_BLOOD_DAMAGE
Clears the blood on a ped.
0x8FE22675A5A45817 - PEDvoid
CLEAR_PED_BLOOD_DAMAGE_BY_ZONE
``` Somehow related to changing ped's clothes. ```
0x56E3B78C5408D9F4 - PEDvoid
_CLEAR_PED_COVER_CLIPSET_OVERRIDE
``` CLEAR_PED_* ```
0xC79196DCB36F6121 - PEDvoid
CLEAR_PED_DAMAGE_DECAL_BY_ZONE
``` p1: from 0 to 5 in the b617d scripts. p2: "blushing" and "ALL" found in the b617d scripts. ```
0x523C79AEEFCC4A2A - PEDvoid
CLEAR_PED_DECORATIONS
Description not yet documented
0x0E5173C163976E38 - PEDvoid
CLEAR_PED_DECORATIONS_LEAVE_SCARS
Description not yet documented
0xE3B27E70CEAB9F0C - PEDvoid
CLEAR_PED_DRIVE_BY_CLIPSET_OVERRIDE
Description not yet documented
0x4AFE3690D7E0B5AC - PEDvoid
CLEAR_PED_ENV_DIRT
Description not yet documented
0x6585D955A68452A5 - PEDvoid
CLEAR_PED_LAST_DAMAGE_BONE
Description not yet documented
0x8EF6B7AC68E2F01B - PEDvoid
CLEAR_PED_NON_CREATION_AREA
Description not yet documented
0x2E05208086BA0651 - PEDvoid
CLEAR_PED_PARACHUTE_PACK_VARIATION
Description not yet documented
0x1280804F7CFD2D6C - PEDvoid
CLEAR_PED_PROP
Description not yet documented
0x0943E5B8E078E76E - PEDvoid
CLEAR_PED_SCUBA_GEAR_VARIATION
Removes the scubagear (for mp male: component id: 8, drawableId: 123, textureId: any) from peds. Does not play the 'remove scuba gear' animation, but instantly removes it.
0xB50EB4CCB29704AC - PEDvoid
CLEAR_PED_STORED_HAT_PROP
Description not yet documented
0x687C0B594907D2E8 - PEDvoid
CLEAR_PED_WETNESS
``` It clears the wetness of the selected Ped/Player. Clothes have to be wet to notice the difference. ```
0x9C720776DAA43E7E - PEDvoid
CLEAR_RAGDOLL_BLOCKING_FLAGS
``` There seem to be 26 flags ```
0xD86D101FCFD00A4B - PEDvoid
CLEAR_RELATIONSHIP_BETWEEN_GROUPS
``` Clears the relationship between two groups. This should be called twice (once for each group). Relationship types: 0 = Companion 1 = Respect 2 = Like 3 = Neutral 4 = Dislike 5 = Hate 255 = Pedestrians (Credits: Inco) Example: PED::CLEAR_RELATIONSHIP_BETWEEN_GROUPS(2, l_1017, 0xA49E591C); PED::CLEAR_RELATIONSHIP_BETWEEN_GROUPS(2, 0xA49E591C, l_1017); ```
0x5E29243FB56FC6D4 - PEDPed
CLONE_PED
Creates a copy of the passed ped, optionally setting it as local and/or shallow-copying the head blend data.
0xEF29A16337FACADB - PEDPed
_CLONE_PED_EX
Used one time in fmmc_launcher.c instead of CLONE_PED because ?
0x668FD40BCBA5DE48 - PEDvoid
CLONE_PED_TO_TARGET
``` Copies ped's components and props to targetPed. ```
0xE952D6431689AD9A - PEDvoid
_CLONE_PED_TO_TARGET_EX
Description not yet documented
0x148B08C2D2ACB884 - PEDint
CREATE_GROUP
``` Creates a new ped group. Groups can contain up to 8 peds. The parameter is unused. Returns a handle to the created group, or 0 if a group couldn't be created. ```
0x90370EBE0FEE1A3D - PEDvoid
CREATE_NM_MESSAGE
``` Creates a new NaturalMotion message. startImmediately: If set to true, the character will perform the message the moment it receives it by GIVE_PED_NM_MESSAGE. If false, the Ped will get the message but won't perform it yet. While it's a boolean value, if negative, the message will not be initialized. messageId: The ID of the NaturalMotion message. If a message already exists, this function does nothing. A message exists until the point it has been successfully dispatched by GIVE_PED_NM_MESSAGE. ```
0x418EF2A1BCE56685 - PEDObject
CREATE_PARACHUTE_BAG_OBJECT
Description not yet documented
0x8C4F3BF23B6237DB - PEDPed
CREATE_PED
Creates a ped (biped character, pedestrian, actor) with the specified model at the specified position and heading. This ped will initially be owned by the creating script as a mission entity, and the model should be loaded already (e.g. using REQUEST_MODEL).
0xD49F9B0955C367DE - PEDPed
CREATE_PED_INSIDE_VEHICLE
Description not yet documented
0x7DD959874C1FD534 - PEDPed
CREATE_RANDOM_PED
``` vb.net Dim ped_handle As Integer With Game.Player.Character Dim pos As Vector3 = .Position + .ForwardVector * 3 ped_handle = Native.Function.Call(Of Integer)(Hash.CREATE_RANDOM_PED, pos.X, pos.Y, pos.Z) End With Creates a Ped at the specified location, returns the Ped Handle. Ped will not act until SET_PED_AS_NO_LONGER_NEEDED is called. ```
0xB4AC7D0CF06BFE8F
A living reference. Documentation coverage varies by native and source.