FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_NUM_PLAYER_INDICES
()
GET_NUM_PLAYER_TOKENS
(char* playerSrc)
GET_NUM_RESOURCE_METADATA
(char* resourceName, char* metadataKey)
GET_NUM_RESOURCES
()
GET_NUMBER_OF_PED_COLLECTION_DRAWABLE_VARIATIONS
(Ped ped, int componentId, char* collection)
GET_NUMBER_OF_PED_COLLECTION_PROP_DRAWABLE_VARIATIONS
(Ped ped, int anchorPoint, char* collection)
GET_NUMBER_OF_PED_COLLECTION_PROP_TEXTURE_VARIATIONS
(Ped ped, int anchorPoint, char* collection, int propIndex)
GET_NUMBER_OF_PED_COLLECTION_TEXTURE_VARIATIONS
(Ped ped, int componentId, char* collection, int drawableId)
GET_PARKED_VEHICLE_DENSITY_MULTIPLIER
()
GET_PASSWORD_HASH
(char* password)
GET_PAUSE_MAP_POINTER_WORLD_POSITION
()
GET_PED_ARMOUR
(Ped ped)
GET_PED_CAUSE_OF_DEATH
(Ped ped)
GET_PED_COLLECTION_LOCAL_INDEX_FROM_DRAWABLE
(Ped ped, int componentId, int drawableId)
GET_PED_COLLECTION_LOCAL_INDEX_FROM_PROP
(Ped ped, int anchorPoint, int propIndex)
GET_PED_COLLECTION_NAME
(Ped ped, int index)
GET_PED_COLLECTION_NAME_FROM_DRAWABLE
(Ped ped, int componentId, int drawableId)
GET_PED_COLLECTION_NAME_FROM_PROP
(Ped ped, int anchorPoint, int propIndex)
GET_PED_COLLECTIONS_COUNT
(Ped ped)
GET_PED_DECORATIONS
(Ped ped)
GET_PED_DENSITY_MULTIPLIER
()
GET_PED_DESIRED_HEADING
(Ped ped)
GET_PED_DRAWABLE_GLOBAL_INDEX_FROM_COLLECTION
(Ped ped, int componentId, char* collection, int drawableId)
GET_PED_DRAWABLE_VARIATION_COLLECTION_LOCAL_INDEX
(Ped ped, int componentId)
GET_PED_DRAWABLE_VARIATION_COLLECTION_NAME
(Ped ped, int componentId)
GET_PED_EYE_COLOR
(Ped ped)
GET_PED_FACE_FEATURE
(Ped ped, int index)
GET_PED_HAIR_COLOR
(Ped ped)
GET_PED_HAIR_HIGHLIGHT_COLOR
(Ped ped)
GET_PED_HEAD_OVERLAY_DATA
(Ped ped, int index, int* overlayValue, int* colourType, int* firstColour, int* secondColour, float* overlayOpacity)
GET_PED_IN_VEHICLE_SEAT
(Vehicle vehicle, int seatIndex)
GET_PED_MAX_HEALTH
(Ped ped)
GET_PED_MODEL_PERSONALITY
(Hash modelHash)
GET_PED_MOVEMENT_CLIPSET
(Ped ped)
GET_PED_PROP_COLLECTION_LOCAL_INDEX
(Ped ped, int anchorPoint)