FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_VEHICLE_WHEEL_BRAKE_PRESSURE
(Vehicle vehicle, int wheelIndex, float pressure)
SET_VEHICLE_WHEEL_FLAGS
(Vehicle vehicle, int wheelIndex, int flags)
SET_VEHICLE_WHEEL_HEALTH
(Vehicle vehicle, int wheelIndex, float health)
SET_VEHICLE_WHEEL_IS_POWERED
(Vehicle vehicle, int wheelIndex, BOOL powered)
SET_VEHICLE_WHEEL_POWER
(Vehicle vehicle, int wheelIndex, float power)
SET_VEHICLE_WHEEL_RIM_COLLIDER_SIZE
(Vehicle vehicle, int wheelIndex, float value)
SET_VEHICLE_WHEEL_ROTATION_SPEED
(Vehicle vehicle, int wheelIndex, float speed)
SET_VEHICLE_WHEEL_SIZE
(Vehicle vehicle, float size)
SET_VEHICLE_WHEEL_TIRE_COLLIDER_SIZE
(Vehicle vehicle, int wheelIndex, float value)
SET_VEHICLE_WHEEL_TIRE_COLLIDER_WIDTH
(Vehicle vehicle, int wheelIndex, float value)
SET_VEHICLE_WHEEL_TRACTION_VECTOR_LENGTH
(Vehicle vehicle, int wheelIndex, float length)
SET_VEHICLE_WHEEL_WIDTH
(Vehicle vehicle, float width)
SET_VEHICLE_WHEEL_X_OFFSET
(Vehicle vehicle, int wheelIndex, float offset)
SET_VEHICLE_WHEEL_Y_ROTATION
(Vehicle vehicle, int wheelIndex, float value)
SET_VEHICLE_WHEELIE_STATE
(Vehicle vehicle, int state)
SET_VISUAL_SETTING_FLOAT
(char* name, float value)
SET_WEAPONS_NO_AUTORELOAD
(BOOL state)
SET_WEAPONS_NO_AUTOSWAP
(BOOL state)
SET_WEATHER_OWNED_BY_NETWORK
(BOOL network)
SHUTDOWN_LOADING_SCREEN_NUI
()
START_FIND_EXTERNAL_KVP
(char* resourceName, char* prefix)
START_FIND_KVP
(char* prefix)
START_RESOURCE
(char* resourceName)
STOP_RESOURCE
(char* resourceName)
TASK_COMBAT_PED
(Ped ped, Ped targetPed, int p2, int p3)
TASK_DRIVE_BY
(Ped driverPed, Ped targetPed, Vehicle targetVehicle, float targetX, float targetY, float targetZ, float distanceToShoot, int pedAccuracy, BOOL p8, Hash firingPattern)
TASK_ENTER_VEHICLE
(Ped ped, Vehicle vehicle, int timeout, int seatIndex, float speed, int flag, Any p6)
TASK_EVERYONE_LEAVE_VEHICLE
(Vehicle vehicle)
TASK_GO_STRAIGHT_TO_COORD
(Ped ped, float x, float y, float z, float speed, int timeout, float targetHeading, float distanceToSlide)
TASK_GO_TO_COORD_ANY_MEANS
(Ped ped, float x, float y, float z, float speed, Any p5, BOOL p6, int walkingStyle, float p8)
TASK_GO_TO_ENTITY
(Entity entity, Entity target, int duration, float distance, float speed, float p5, int p6)
TASK_HANDS_UP
(Ped ped, int duration, Ped facingPed, int p3, BOOL p4)
TASK_LEAVE_ANY_VEHICLE
(Ped ped, int p1, int flags)
TASK_LEAVE_VEHICLE
(Ped ped, Vehicle vehicle, int flags)
TASK_PLAY_ANIM
(Ped ped, char* animDictionary, char* animationName, float blendInSpeed, float blendOutSpeed, int duration, int flag, float playbackRate, BOOL lockX, BOOL lockY, BOOL lockZ)