FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
0x9BD7BD55E4533183
(Any p0, Any p1, Any p2)
0x9D3AF56E94C9AE98
(Vehicle vehicle, float p1)
0xB542DE8C3D1CB210
(BOOL p0)
0xBEF34B1D9624D5DD
(BOOL p0)
0xC1805D05E6D4FE10
(Vehicle vehicle)
0xDD6BCF9E94425DF9
()
0xF3365489E0DD50F9
(Vehicle vehicle, BOOL toggle)
0xFF266D1D0EB1195D
()
Namespace:
BRAIN
ADD_SCRIPT_TO_RANDOM_PED
(char* name, Hash model, float p2, float p3)
DISABLE_SCRIPT_BRAIN_SET
(int brainSet)
ENABLE_SCRIPT_BRAIN_SET
(int brainSet)
IS_OBJECT_WITHIN_BRAIN_ACTIVATION_RANGE
(Object object)
IS_WORLD_POINT_WITHIN_BRAIN_ACTIVATION_RANGE
()
REGISTER_OBJECT_SCRIPT_BRAIN
(char* scriptName, Hash modelHash, int p2, float activationRange, int p4, int p5)
REGISTER_WORLD_POINT_SCRIPT_BRAIN
(char* scriptName, float activationRange, int p2)
0x0B40ED49D7D6FF84
()
0x4D953DF78EBF8158
()
0x6D6840CEE8845831
(char* action)
0x6E91B04E08773030
(char* action)
Namespace:
CAM
_ACTIVATE_CAM_WITH_INTERP_AND_FOV_CURVE
(Cam camTo, Cam camFrom, int duration, int easeLocation, int easeRotation, int easeFove)
ADD_CAM_SPLINE_NODE
(Cam camera, float x, float y, float z, float xRot, float yRot, float zRot, int length, int p8, int transitionType)
ADD_CAM_SPLINE_NODE_USING_CAMERA
(Cam cam, Cam cam2, int length, int p3)
ADD_CAM_SPLINE_NODE_USING_CAMERA_FRAME
(Cam cam, Cam cam2, int p2, int p3)
ADD_CAM_SPLINE_NODE_USING_GAMEPLAY_FRAME
(Cam cam, int p1, int p2)
_ANIMATE_GAMEPLAY_CAM_ZOOM
(float p0, float distance)
ANIMATED_SHAKE_CAM
(Cam cam, char* p1, char* p2, char* p3, float amplitude)
ANIMATED_SHAKE_SCRIPT_GLOBAL
(char* p0, char* p1, char* p2, float p3)
ATTACH_CAM_TO_ENTITY
(Cam cam, Entity entity, float xOffset, float yOffset, float zOffset, BOOL isRelative)
ATTACH_CAM_TO_PED_BONE
(Cam cam, Ped ped, int boneIndex, float xOffset, float yOffset, float zOffset, BOOL isRelative)
_ATTACH_CAM_TO_VEHICLE_BONE
(Cam cam, Vehicle vehicle, int boneIndex, BOOL relativeRotation, float rotX, float rotY, float rotZ, float offX, float offY, float offZ, BOOL fixedDirection)
_CLAMP_GAMEPLAY_CAM_PITCH
(float minimum, float maximum)
_CLAMP_GAMEPLAY_CAM_YAW
(float minimum, float maximum)
CREATE_CAM
(char* camName, BOOL active)