FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
CLEAR_AMBIENT_ZONE_LIST_STATE
(char* zoneListName, BOOL forceUpdate)
CLEAR_AMBIENT_ZONE_STATE
(char* zoneName, BOOL forceUpdate)
CLEAR_CUSTOM_RADIO_TRACK_LIST
(char* radioStation)
CREATE_NEW_SCRIPTED_CONVERSATION
()
DEACTIVATE_AUDIO_SLOWMO_MODE
(char* mode)
DISABLE_PED_PAIN_AUDIO
(Ped ped, BOOL shouldDisable)
DISTANT_COP_CAR_SIRENS
(BOOL shouldPlay)
DOES_CONTEXT_EXIST_FOR_THIS_PED
(Ped ped, char* speechName, BOOL allowBackupPVGs)
DOES_PLAYER_VEH_HAVE_RADIO
()
ENABLE_STALL_WARNING_SOUNDS
(Vehicle vehicle, BOOL enable)
ENABLE_STUNT_JUMP_AUDIO
()
ENABLE_VEHICLE_EXHAUST_POPS
(Vehicle vehicle, BOOL toggle)
ENABLE_VEHICLE_FANBELT_DAMAGE
(Vehicle vehicle, BOOL enableFanbeltDamage)
FIND_RADIO_STATION_INDEX
(int stationNameHash)
FORCE_MUSIC_TRACK_LIST
(char* radioStation, char* trackListName, int timeOffsetMilliseconds)
FORCE_PED_PANIC_WALLA
()
FORCE_USE_AUDIO_GAME_OBJECT
(Vehicle vehicle, char* gameObjectName)
FREEZE_MICROPHONE
()
FREEZE_RADIO_STATION
(char* radioStation)
GET_AMBIENT_VOICE_NAME_HASH
(Ped ped)
GET_AUDIBLE_MUSIC_TRACK_TEXT_ID
()
_GET_CURRENT_RADIO_TRACK_PLAYBACK_TIME
(char* radioStationName)
GET_CURRENT_SCRIPTED_CONVERSATION_LINE
()
GET_CURRENT_TRACK_SOUND_NAME
(char* radioStationName)
GET_IS_PRELOADED_CONVERSATION_READY
()
GET_MUSIC_PLAYTIME
()
GET_MUSIC_VOL_SLIDER
()
GET_NETWORK_ID_FROM_SOUND_ID
(int soundId)
GET_NEXT_AUDIBLE_BEAT
(float* timeInSeconds, float* bpm, int* beatNum)
GET_NUM_UNLOCKED_RADIO_STATIONS
()
GET_PLAYER_RADIO_STATION_GENRE
()
GET_PLAYER_RADIO_STATION_INDEX
()
GET_PLAYER_RADIO_STATION_NAME
()
GET_RADIO_STATION_NAME
(int stationIndex)
GET_SOUND_ID
()