FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_PEDHEADSHOT_TXD_STRING
(int id)
GET_PEDS_JACKER
(Ped ped)
GET_PLAYER_PED_IS_FOLLOWING
(Ped ped)
GET_RANDOM_PED_AT_COORD
(float x, float y, float z, float xRadius, float yRadius, float zRadius, int pedType)
GET_RELATIONSHIP_BETWEEN_GROUPS
(Hash group1, Hash group2)
GET_RELATIONSHIP_BETWEEN_PEDS
(Ped ped1, Ped ped2)
GET_SEAT_PED_IS_TRYING_TO_ENTER
(Ped ped)
GET_SYNCHRONIZED_SCENE_PHASE
(int sceneID)
GET_SYNCHRONIZED_SCENE_RATE
(int sceneID)
_GET_TIME_OF_LAST_PED_WEAPON_DAMAGE
(Ped ped, Hash weaponHash)
GET_VEHICLE_PED_IS_ENTERING
(Ped ped)
GET_VEHICLE_PED_IS_IN
(Ped ped, BOOL lastVehicle)
GET_VEHICLE_PED_IS_TRYING_TO_ENTER
(Ped ped)
GET_VEHICLE_PED_IS_USING
(Ped ped)
GIVE_PED_HELMET
(Ped ped, BOOL cannotRemove, int helmetFlag, int textureIndex)
GIVE_PED_NM_MESSAGE
(Ped ped)
HAS_ACTION_MODE_ASSET_LOADED
(char* asset)
HAS_PED_HEAD_BLEND_FINISHED
(Ped ped)
HAS_PED_PRELOAD_PROP_DATA_FINISHED
(Ped ped)
HAS_PED_PRELOAD_VARIATION_DATA_FINISHED
(Ped ped)
HAS_PED_RECEIVED_EVENT
(Ped ped, int eventId)
HAS_PEDHEADSHOT_IMG_UPLOAD_FAILED
()
HAS_PEDHEADSHOT_IMG_UPLOAD_SUCCEEDED
()
HAS_STEALTH_MODE_ASSET_LOADED
(char* asset)
HAVE_ALL_STREAMING_REQUESTS_COMPLETED
(Ped ped)
HIDE_PED_BLOOD_DAMAGE_BY_ZONE
(Ped ped, Any p1, BOOL p2)
INSTANTLY_FILL_PED_POPULATION
()
IS_ANY_HOSTILE_PED_NEAR_POINT
(Ped ped, float x, float y, float z, float radius)
IS_ANY_PED_NEAR_POINT
(float x, float y, float z, float radius)
IS_ANY_PED_SHOOTING_IN_AREA
(float minX, float minY, float minZ, float maxX, float maxY, float maxZ, BOOL bHighlightArea, BOOL bDo3DCheck)
IS_CONVERSATION_PED_DEAD
(Ped ped)
IS_COP_PED_IN_AREA_3D
(float x1, float y1, float z1, float x2, float y2, float z2)
IS_PED_A_PLAYER
(Ped ped)
IS_PED_AIMING_FROM_COVER
(Ped ped)
IS_PED_BEING_JACKED
(Ped ped)