FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
ADD_LINE_TO_CONVERSATION
(int speakerConversationIndex, char* context, char* subtitle, int listenerNumber, int volumeType, BOOL isRandom, BOOL interruptible, BOOL ducksRadio, BOOL ducksScore, int audibility, BOOL headset, BOOL dontInterruptForSpecialAbility, BOOL isPadSpeakerRoute)
ADD_PED_TO_CONVERSATION
(int speakerConversationIndex, Ped ped, char* voiceName)
AUDIO_IS_SCRIPTED_MUSIC_PLAYING
()
BLIP_SIREN
(Vehicle vehicle)
BLOCK_ALL_SPEECH_FROM_PED
(Ped ped, BOOL shouldBlock, BOOL suppressOutgoingNetworkSpeech)
BLOCK_DEATH_JINGLE
(BOOL blocked)
BLOCK_SPEECH_CONTEXT_GROUP
(char* groupName, int contextBlockTarget)
CAN_VEHICLE_RECEIVE_CB_RADIO
(Vehicle vehicle)
CANCEL_ALL_POLICE_REPORTS
()
CANCEL_MUSIC_EVENT
(char* eventName)
CLEAR_ALL_BROKEN_GLASS
()
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)
_FORCE_VEHICLE_ENGINE_SYNTH
(Vehicle vehicle, BOOL force)
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
()