FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
GET_PED_CONFIG_FLAG
(Ped ped, int flagId, BOOL p2)
_GET_PED_CURRENT_MOVEMENT_SPEED
(Ped ped, float* speedX, float* speedY)
GET_PED_DECORATION_ZONE_FROM_HASHES
(Hash collection, Hash overlay)
GET_PED_DECORATIONS_STATE
(Ped ped)
GET_PED_DEFENSIVE_AREA_POSITION
(Ped ped, BOOL p1)
_GET_PED_DIES_IN_WATER
(Ped ped)
GET_PED_DRAWABLE_VARIATION
(Ped ped, int componentId)
_GET_PED_EMISSIVE_INTENSITY
(Ped ped)
GET_PED_ENVEFF_SCALE
(Ped ped)
_GET_PED_EVENT_DATA
(Ped ped, int eventType, Any* outData)
GET_PED_EXTRACTED_DISPLACEMENT
(Ped ped, BOOL worldSpace)
_GET_PED_EYE_COLOR
(Ped ped)