FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
DOES_GROUP_EXIST
(int groupId)
_DOES_RELATIONSHIP_GROUP_EXIST
(Hash groupHash)
_DOES_SCENARIO_BLOCKING_AREA_EXIST
(float x1, float y1, float z1, float x2, float y2, float z2)
DROP_AMBIENT_PROP
(Ped ped)
EXPLODE_PED_HEAD
(Ped ped, Hash weaponHash)
FINALIZE_HEAD_BLEND
(Ped ped)
FORCE_PED_AI_AND_ANIMATION_UPDATE
(Ped ped, BOOL p1, BOOL p2)
FORCE_PED_MOTION_STATE
(Ped ped, Hash motionStateHash, BOOL shouldReset, int updateState, BOOL forceAIPreCameraUpdate)
FORCE_PED_TO_OPEN_PARACHUTE
(Ped ped)
_FREEZE_PED_CAMERA_ROTATION
(Ped ped)
GET_ANIM_INITIAL_OFFSET_POSITION
(char* animDict, char* animName, float x, float y, float z, float xRot, float yRot, float zRot, float p8, int p9)
GET_ANIM_INITIAL_OFFSET_ROTATION
(char* animDict, char* animName, float x, float y, float z, float xRot, float yRot, float zRot, float p8, int p9)
GET_CLOSEST_PED
(float x, float y, float z, float radius, BOOL p4, BOOL p5, Ped* outPed, BOOL p7, BOOL p8, int pedType)
GET_COMBAT_FLOAT
(Ped ped, int p1)
GET_DEAD_PED_PICKUP_COORDS
(Ped ped, float p1, float p2)
GET_GROUP_SIZE
(int groupID, Any* unknown, int* sizeInMembers)
GET_JACK_TARGET
(Ped ped)
GET_MELEE_TARGET_FOR_PED
(Ped ped)
GET_MOUNT
(Ped ped)
_GET_NUM_HAIR_COLORS
()
_GET_NUM_MAKEUP_COLORS
()
GET_NUMBER_OF_PED_DRAWABLE_VARIATIONS
(Ped ped, int componentId)
GET_NUMBER_OF_PED_PROP_DRAWABLE_VARIATIONS
(Ped ped, int propId)
GET_NUMBER_OF_PED_PROP_TEXTURE_VARIATIONS
(Ped ped, int propId, int drawableId)
GET_NUMBER_OF_PED_TEXTURE_VARIATIONS
(Ped ped, int componentId, int drawableId)
GET_PED_ACCURACY
(Ped ped)
GET_PED_ALERTNESS
(Ped ped)
GET_PED_ARMOUR
(Ped ped)
GET_PED_AS_GROUP_LEADER
(int groupID)
GET_PED_AS_GROUP_MEMBER
(int groupID, int memberNumber)
GET_PED_BONE_COORDS
(Ped ped, int boneId, float offsetX, float offsetY, float offsetZ)
GET_PED_BONE_INDEX
(Ped ped, int boneId)
GET_PED_CAUSE_OF_DEATH
(Ped ped)
GET_PED_COMBAT_MOVEMENT
(Ped ped)
GET_PED_COMBAT_RANGE
(Ped ped)