FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
RELEASE_SCRIPT_AUDIO_BANK
()
RELEASE_SOUND_ID
(int soundId)
RELEASE_WEAPON_AUDIO
()
REMOVE_ENTITY_FROM_AUDIO_MIX_GROUP
(Entity entity, float fadeOut)
REMOVE_PORTAL_SETTINGS_OVERRIDE
(char* portalSettingsName)
REQUEST_AMBIENT_AUDIO_BANK
(char* bankName, BOOL bOverNetwork)
REQUEST_MISSION_AUDIO_BANK
(char* bankName, BOOL bOverNetwork)
REQUEST_SCRIPT_AUDIO_BANK
(char* bankName, BOOL bOverNetwork)
REQUEST_TENNIS_BANKS
(Ped opponentPed)
RESET_PED_AUDIO_FLAGS
(Ped ped)
RESET_TREVOR_RAGE
()
RESET_VEHICLE_STARTUP_REV_SOUND
(Vehicle vehicle)
RESTART_SCRIPTED_CONVERSATION
()
SCRIPT_OVERRIDES_WIND_ELEVATION
(BOOL override, Hash windElevationHashName)
SET_AGGRESSIVE_HORNS
(BOOL toggle)
SET_AMBIENT_VOICE_NAME
(Ped ped, char* voiceName)
SET_AMBIENT_VOICE_NAME_HASH
(Ped ped, Hash hash)
SET_AMBIENT_ZONE_LIST_STATE
(char* zoneListName, BOOL enabled, BOOL forceUpdate)
SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT
(char* ambientZone, BOOL enabled, BOOL forceUpdate)
SET_AMBIENT_ZONE_STATE
(char* zoneName, BOOL enabled, BOOL forceUpdate)
SET_AMBIENT_ZONE_STATE_PERSISTENT
(char* zoneName, BOOL enabled, BOOL forceUpdate)
SET_ANIMAL_MOOD
(Ped animal, int mood)
SET_AUDIO_FLAG
(char* flagName, BOOL toggle)
SET_AUDIO_SCENE_VARIABLE
(char* scene, char* variableName, float value)
SET_AUDIO_SCRIPT_CLEANUP_TIME
(int timeMs)
SET_AUDIO_SPECIAL_EFFECT_MODE
(int mode)
SET_AUDIO_VEHICLE_PRIORITY
(Vehicle vehicle, int priority)
SET_CONVERSATION_AUDIO_CONTROLLED_BY_ANIM
(BOOL enable)
SET_CONVERSATION_AUDIO_PLACEHOLDER
(BOOL isPlaceHolder)
SET_CUSTOM_RADIO_TRACK_LIST
(char* radioStation, char* trackListName, BOOL forceNow)
SET_CUTSCENE_AUDIO_OVERRIDE
(char* name)
SET_EMITTER_RADIO_STATION
(char* emitterName, char* radioStation)
SET_ENTITY_FOR_NULL_CONV_PED
(int speakerConversationIndex, Entity entity)
SET_FRONTEND_RADIO_ACTIVE
(BOOL active)
SET_GLOBAL_RADIO_SIGNAL_LEVEL
(float signalLevel)