FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
CLEAR_RELATIONSHIP_BETWEEN_GROUPS
(int relationship, Hash group1, Hash group2)
CLONE_PED
(Ped ped, BOOL isNetwork, BOOL bScriptHostPed, BOOL copyHeadBlendFlag)
_CLONE_PED_EX
(Ped ped, float heading, BOOL isNetwork, BOOL bScriptHostPed, Any p4)
CLONE_PED_TO_TARGET
(Ped ped, Ped targetPed)
_CLONE_PED_TO_TARGET_EX
(Ped ped, Ped targetPed, Any p2)
CREATE_GROUP
(int unused)
CREATE_NM_MESSAGE
(BOOL startImmediately, int messageId)
CREATE_PARACHUTE_BAG_OBJECT
(Ped ped, BOOL p1, BOOL p2)
CREATE_PED
(int pedType, Hash modelHash, float x, float y, float z, float heading, BOOL isNetwork, BOOL bScriptHostPed)
CREATE_PED_INSIDE_VEHICLE
(Vehicle vehicle, int pedType, Hash modelHash, int seat, BOOL isNetwork, BOOL bScriptHostPed)
CREATE_RANDOM_PED
(float posX, float posY, float posZ)
CREATE_RANDOM_PED_AS_DRIVER
(Vehicle vehicle, BOOL returnHandle)
CREATE_SYNCHRONIZED_SCENE
(float x, float y, float z, float roll, float pitch, float yaw, int p6)
_CREATE_SYNCHRONIZED_SCENE_2
(float x, float y, float z, float radius, Hash object)
DELETE_PED
(Ped* ped)
DETACH_SYNCHRONIZED_SCENE
(int sceneID)
DISABLE_HEAD_BLEND_PALETTE_COLOR
(Ped ped)
DISABLE_PED_HEATSCALE_OVERRIDE
(Ped ped)
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 p2, int p3, BOOL p4)
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)