FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
APP_SET_BLOCK
(char* blockName)
APP_SET_FLOAT
(char* property, float value)
APP_SET_INT
(char* property, int value)
APP_SET_STRING
(char* property, char* value)
Namespace:
AUDIO
ACTIVATE_AUDIO_SLOWMO_MODE
(char* mode)
ADD_ENTITY_TO_AUDIO_MIX_GROUP
(Entity entity, char* groupName, float fadeIn)
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)