FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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
()
GET_SOUND_ID_FROM_NETWORK_ID
(int netId)
GET_STREAM_PLAY_TIME
()
GET_VARIATION_CHOSEN_FOR_SCRIPTED_LINE
(char* textLabel)
GET_VEHICLE_DEFAULT_HORN
(Vehicle vehicle)
GET_VEHICLE_DEFAULT_HORN_IGNORE_MODS
(Vehicle vehicle)
GET_VEHICLE_HORN_SOUND_INDEX
(Vehicle vehicle)
HAS_LOADED_MP_DATA_SET
()
HAS_LOADED_SP_DATA_SET
()
HAS_SOUND_FINISHED
(int soundId)
HINT_AMBIENT_AUDIO_BANK
(char* bankName, BOOL bOverNetwork)
HINT_MISSION_AUDIO_BANK
(char* bankName, BOOL bOverNetwork, int playerBits)
HINT_SCRIPT_AUDIO_BANK
(char* bankName, BOOL bOverNetwork)
INIT_SYNCH_SCENE_AUDIO_WITH_ENTITY
(char* audioName, Entity entity)
INIT_SYNCH_SCENE_AUDIO_WITH_POSITION
(char* audioName, float x, float y, float z)
INTERRUPT_CONVERSATION
(Ped interrupterPed, char* context, char* voiceName)
INTERRUPT_CONVERSATION_AND_PAUSE
(Ped interrupterPed, char* context, char* voiceName)
IS_ALARM_PLAYING
(char* alarmName)