FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_VEHICLE_HANDLING_FIELD
(Vehicle vehicle, char* class_, char* fieldName, Any value)
SET_VEHICLE_HANDLING_FLOAT
(Vehicle vehicle, char* class_, char* fieldName, float value)
SET_VEHICLE_HANDLING_INT
(Vehicle vehicle, char* class_, char* fieldName, int value)
SET_VEHICLE_HANDLING_VECTOR
(Vehicle vehicle, char* class_, char* fieldName, Vector3 value)
SET_VEHICLE_HIGH_GEAR
(Vehicle vehicle, int gear)
SET_VEHICLE_NITRO_PTFX_RANGE
(float range)
SET_VEHICLE_NUMBER_PLATE_TEXT
(Vehicle vehicle, char* plateText)
SET_VEHICLE_OIL_LEVEL
(Vehicle vehicle, float level)
SET_VEHICLE_PITCH_BIAS
(Vehicle vehicle, float value)
SET_VEHICLE_ROLL_BIAS
(Vehicle vehicle, float value)
SET_VEHICLE_STEERING_ANGLE
(Vehicle vehicle, float angle)
SET_VEHICLE_STEERING_SCALE
(Vehicle vehicle, float scale)
SET_VEHICLE_SUSPENSION_HEIGHT
(Vehicle vehicle, float newHeight)
SET_VEHICLE_TURBO_PRESSURE
(Vehicle vehicle, float pressure)
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_VEHICLE_XENON_LIGHTS_CUSTOM_COLOR
(Vehicle vehicle, int red, int green, int blue)
SET_VISUAL_SETTING_FLOAT
(char* name, float value)
SET_WATER_AREA_CLIP_RECT
(int minX, int minY, int maxX, int maxY)
SET_WATER_QUAD_ALPHA
(int waterQuad, int a0, int a1, int a2, int a3)
SET_WATER_QUAD_BOUNDS
(int waterQuad, int minX, int minY, int maxX, int maxY)
SET_WATER_QUAD_HAS_LIMITED_DEPTH
(int waterQuad, BOOL hasLimitedDepth)