FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_GET_IS_VEHICLE_ELECTRIC
(Hash vehicleModel)
_GET_IS_VEHICLE_EMP_DISABLED
(Vehicle vehicle)
GET_IS_VEHICLE_ENGINE_RUNNING
(Vehicle vehicle)
GET_IS_VEHICLE_PRIMARY_COLOUR_CUSTOM
(Vehicle vehicle)
GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM
(Vehicle vehicle)
_GET_IS_VEHICLE_SHUNT_BOOST_ACTIVE
(Vehicle vehicle)
_GET_IS_WHEELS_LOWERED_STATE_ACTIVE
(Vehicle vehicle)
GET_LANDING_GEAR_STATE
(Vehicle vehicle)
GET_LAST_DRIVEN_VEHICLE
()
GET_LAST_PED_IN_VEHICLE_SEAT
(Vehicle vehicle, int seatIndex)
_GET_LAST_RAMMED_VEHICLE
(Vehicle vehicle)
GET_LIVERY_NAME
(Vehicle vehicle, int liveryIndex)
GET_MAKE_NAME_FROM_VEHICLE_MODEL
(Hash modelHash)
GET_MOD_SLOT_NAME
(Vehicle vehicle, int modType)
GET_MOD_TEXT_LABEL
(Vehicle vehicle, int modType, int modValue)
GET_NUM_MOD_COLORS
(int paintType, BOOL p1)
GET_NUM_MOD_KITS
(Vehicle vehicle)
GET_NUM_VEHICLE_MODS
(Vehicle vehicle, int modType)
GET_NUM_VEHICLE_WINDOW_TINTS
()
GET_NUMBER_OF_VEHICLE_COLOURS
(Vehicle vehicle)
_GET_NUMBER_OF_VEHICLE_DOORS
(Vehicle vehicle)
GET_NUMBER_OF_VEHICLE_NUMBER_PLATES
()
GET_PED_IN_VEHICLE_SEAT
(Vehicle vehicle, int seatIndex)
GET_PED_USING_VEHICLE_DOOR
(Vehicle vehicle, int doorIndex)
GET_POSITION_IN_RECORDING
(Vehicle vehicle)
GET_POSITION_OF_VEHICLE_RECORDING_AT_TIME
(int recording, float time, char* script)
GET_POSITION_OF_VEHICLE_RECORDING_ID_AT_TIME
(int id, float time)
GET_RANDOM_VEHICLE_BACK_BUMPER_IN_SPHERE
(float p0, float p1, float p2, float p3, int p4, int p5, int p6)
GET_RANDOM_VEHICLE_FRONT_BUMPER_IN_SPHERE
(float p0, float p1, float p2, float p3, int p4, int p5, int p6)
GET_RANDOM_VEHICLE_IN_SPHERE
(float x, float y, float z, float radius, Hash modelHash, int flags)
GET_RANDOM_VEHICLE_MODEL_IN_MEMORY
(BOOL p0, Hash* modelHash, int* successIndicator)
_GET_REMAINING_NITROUS_DURATION
(Vehicle vehicle)
GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME
(int recording, float time, char* script)
GET_ROTATION_OF_VEHICLE_RECORDING_ID_AT_TIME
(int id, float time)
GET_SUBMARINE_IS_UNDER_DESIGN_DEPTH
(Vehicle submarine)