FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_GPS_ACTIVE
(BOOL active)
SET_HORN_ENABLED
(Vehicle vehicle, BOOL toggle)
SET_INITIAL_PLAYER_STATION
(char* radioStation)
SET_MICROPHONE_POSITION
(BOOL p0, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3)