FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_WEATHER_TYPE_PERSIST
(char* weatherType)
_SET_WEATHER_TYPE_TRANSITION
(Hash weatherType1, Hash weatherType2, float percentWeather2)
SET_WIND
(float speed)
SET_WIND_DIRECTION
(float direction)
SET_WIND_SPEED
(float speed)
SHOOT_SINGLE_BULLET_BETWEEN_COORDS
(float x1, float y1, float z1, float x2, float y2, float z2, int damage, BOOL pureAccuracy, Hash weaponHash, Ped ownerPed, BOOL isAudible, BOOL isInvisible, float speed)
SHOOT_SINGLE_BULLET_BETWEEN_COORDS_IGNORE_ENTITY
(float x1, float y1, float z1, float x2, float y2, float z2, int damage, BOOL p7, Hash weaponHash, Ped ownerPed, BOOL isAudible, BOOL isInvisible, float speed, Entity entity)
SHOOT_SINGLE_BULLET_BETWEEN_COORDS_IGNORE_ENTITY_NEW
(float x1, float y1, float z1, float x2, float y2, float z2, int damage, BOOL p7, Hash weaponHash, Ped ownerPed, BOOL isAudible, BOOL isInvisible, float speed, Entity entity, BOOL p14, BOOL p15, BOOL p16, BOOL p17)
SHOULD_USE_METRIC_MEASUREMENTS
()
SLERP_NEAR_QUATERNION
(float t, float x, float y, float z, float w, float x1, float y1, float z1, float w1, float* outX, float* outY, float* outZ, float* outW)
_START_BENCHMARK_RECORDING
()
START_SAVE_ARRAY_WITH_SIZE
(Any* p0, int size, char* arrayName)
START_SAVE_DATA
(Any* p0, Any p1, BOOL p2)
START_SAVE_STRUCT_WITH_SIZE
(Any* p0, int size, char* structName)
_STOP_BENCHMARK_RECORDING
()
STOP_SAVE_ARRAY
()
STOP_SAVE_DATA
()
STOP_SAVE_STRUCT
()
STRING_TO_INT
(char* string, int* outInteger)
SUPRESS_RANDOM_EVENT_THIS_FRAME
(int eventType, BOOL enable)
TAN
(float p0)
TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME
(char* scriptName)
TOGGLE_SHOW_OPTIONAL_STUNT_JUMP_CAMERA
(BOOL toggle)
UI_STARTED_END_USER_BENCHMARK
()
UNLOAD_CLOUD_HAT
(char* name, float p1)
UPDATE_ONSCREEN_KEYBOARD
()
USING_MISSION_CREATOR
(BOOL toggle)
WATER_OVERRIDE_FADE_IN
(float p0)
WATER_OVERRIDE_FADE_OUT
(float p0)
WATER_OVERRIDE_SET_OCEANNOISEMINAMPLITUDE
(float minAmplitude)
WATER_OVERRIDE_SET_OCEANWAVEAMPLITUDE
(float amplitude)
WATER_OVERRIDE_SET_OCEANWAVEMAXAMPLITUDE
(float maxAmplitude)
WATER_OVERRIDE_SET_OCEANWAVEMINAMPLITUDE
(float minAmplitude)
WATER_OVERRIDE_SET_RIPPLEBUMPINESS
(float bumpiness)
WATER_OVERRIDE_SET_RIPPLEDISTURB
(float disturb)