FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
IS_AMBIENT_SPEECH_DISABLED
(Ped ped)
IS_AMBIENT_SPEECH_PLAYING
(Ped ped)
IS_AMBIENT_ZONE_ENABLED
(char* ambientZone)
IS_ANIMAL_VOCALIZATION_PLAYING
(Ped pedHandle)
IS_ANY_POSITIONAL_SPEECH_PLAYING
()
IS_ANY_SPEECH_PLAYING
(Ped ped)
IS_AUDIO_SCENE_ACTIVE
(char* scene)