FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
IS_HORN_ACTIVE
(Vehicle vehicle)
IS_MISSION_COMPLETE_PLAYING
()
IS_MISSION_COMPLETE_READY_FOR_UI
()
IS_MISSION_NEWS_STORY_UNLOCKED
(int newsStory)
IS_MOBILE_INTERFERENCE_ACTIVE
()
IS_MOBILE_PHONE_CALL_ONGOING
()
IS_MOBILE_PHONE_RADIO_ACTIVE
()
IS_MUSIC_ONESHOT_PLAYING
()
IS_PED_IN_CURRENT_CONVERSATION
(Ped ped)
IS_PED_RINGTONE_PLAYING
(Ped ped)
IS_PLAYER_VEH_RADIO_ENABLE
()
IS_RADIO_FADED_OUT
()
IS_RADIO_RETUNING
()
IS_RADIO_STATION_FAVOURITED
(char* radioStation)
IS_SCRIPTED_CONVERSATION_LOADED
()
IS_SCRIPTED_CONVERSATION_ONGOING
()
IS_SCRIPTED_SPEECH_PLAYING
(Ped ped)
IS_STREAM_PLAYING
()
IS_VEHICLE_AUDIBLY_DAMAGED
(Vehicle vehicle)
IS_VEHICLE_RADIO_ON
(Vehicle vehicle)
LINK_STATIC_EMITTER_TO_ENTITY
(char* emitterName, Entity entity)
LOAD_STREAM
(char* streamName, char* soundSet)
LOAD_STREAM_WITH_START_OFFSET
(char* streamName, int startOffset, char* soundSet)
LOCK_RADIO_STATION
(char* radioStationName, BOOL toggle)
LOCK_RADIO_STATION_TRACK_LIST
(char* radioStation, char* trackListName)
OVERRIDE_MICROPHONE_SETTINGS
(Hash hash, BOOL toggle)
OVERRIDE_PLAYER_GROUND_MATERIAL
(Hash overriddenMaterialHash, BOOL scriptOverrides)
OVERRIDE_TREVOR_RAGE
(char* voiceEffect)
OVERRIDE_UNDERWATER_STREAM
(char* streamName, BOOL override)
OVERRIDE_VEH_HORN
(Vehicle vehicle, BOOL override, int hornHash)
PAUSE_SCRIPTED_CONVERSATION
(BOOL finishCurrentLine)
PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE
(char* speechName, char* voiceName, float x, float y, float z, char* speechParam)
PLAY_ANIMAL_VOCALIZATION
(Ped pedHandle, int animalType, char* speechName)
PLAY_DEFERRED_SOUND_FRONTEND
(char* soundName, char* soundsetName)
PLAY_END_CREDITS_MUSIC
(BOOL bActive)