FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_TIMECYCLE_MODIFIER_NAME_BY_INDEX
(int modifierIndex)
GET_TIMECYCLE_MODIFIER_STRENGTH
()
GET_TIMECYCLE_MODIFIER_VAR
(char* modifierName, char* varName, float* value1, float* value2)
GET_TIMECYCLE_MODIFIER_VAR_COUNT
(char* modifierName)
GET_TIMECYCLE_MODIFIER_VAR_NAME_BY_INDEX
(char* modifierName, int modifierVarIndex)
GET_TIMECYCLE_VAR_COUNT
()
GET_TIMECYCLE_VAR_DEFAULT_VALUE_BY_INDEX
(int varIndex)
GET_TIMECYCLE_VAR_NAME_BY_INDEX
(int varIndex)
GET_TRAIN_CARRIAGE_ENGINE
(Vehicle train)
GET_TRAIN_CARRIAGE_INDEX
(Vehicle train)
GET_TRAIN_CURRENT_TRACK_NODE
(Vehicle train)
GET_TRAIN_DOOR_COUNT
(Vehicle train)
GET_TRAIN_DOOR_OPEN_RATIO
(Vehicle train, int doorIndex)
GET_VEHICLE_ALARM_TIME_LEFT
(Vehicle vehicle)
GET_VEHICLE_BODY_HEALTH
(Vehicle vehicle)
GET_VEHICLE_CHEAT_POWER_INCREASE
(Vehicle vehicle)
GET_VEHICLE_CLUTCH
(Vehicle vehicle)
GET_VEHICLE_COLOURS
(Vehicle vehicle, int* colorPrimary, int* colorSecondary)
GET_VEHICLE_CURRENT_GEAR
(Vehicle vehicle)
GET_VEHICLE_CURRENT_RPM
(Vehicle vehicle)
GET_VEHICLE_CUSTOM_PRIMARY_COLOUR
(Vehicle vehicle, int* r, int* g, int* b)
GET_VEHICLE_CUSTOM_SECONDARY_COLOUR
(Vehicle vehicle, int* r, int* g, int* b)
GET_VEHICLE_DASHBOARD_BOOST
()
GET_VEHICLE_DASHBOARD_COLOUR
(Vehicle vehicle, int* color)
GET_VEHICLE_DASHBOARD_FUEL
()
GET_VEHICLE_DASHBOARD_LIGHTS
()
GET_VEHICLE_DASHBOARD_OIL_PRESSURE
()
GET_VEHICLE_DASHBOARD_OIL_TEMP
()
GET_VEHICLE_DASHBOARD_RPM
()
GET_VEHICLE_DASHBOARD_SPEED
(Vehicle vehicle)
GET_VEHICLE_DASHBOARD_TEMP
()
GET_VEHICLE_DASHBOARD_VACUUM
()
GET_VEHICLE_DASHBOARD_WATER_TEMP
()
GET_VEHICLE_DENSITY_MULTIPLIER
()
GET_VEHICLE_DIRT_LEVEL
(Vehicle vehicle)