FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
TRIGGER_LATENT_CLIENT_EVENT_INTERNAL
(char* eventName, char* eventTarget, char* eventPayload, int payloadLength, int bps)
TRIGGER_LATENT_SERVER_EVENT_INTERNAL
(char* eventName, char* eventPayload, int payloadLength, int bps)
TRIGGER_SERVER_EVENT_INTERNAL
(char* eventName, char* eventPayload, int payloadLength)
UNREGISTER_RAW_NUI_CALLBACK
(char* callbackType)
UPDATE_MAPDATA_ENTITY
(int mapdata, int entity, object entityDef)
VERIFY_PASSWORD_HASH
(char* password, char* hash)
WAS_EVENT_CANCELED
()
Namespace:
APP
APP_CLEAR_BLOCK
()
APP_CLOSE_APP
()
APP_CLOSE_BLOCK
()
APP_DATA_VALID
()
APP_DELETE_APP_DATA
(char* appName)
APP_GET_DELETED_FILE_STATUS
()
APP_GET_FLOAT
(char* property)
APP_GET_INT
(char* property)
APP_GET_STRING
(char* property)
APP_HAS_LINKED_SOCIAL_CLUB_ACCOUNT
()
APP_HAS_SYNCED_DATA
(char* appName)
APP_SAVE_DATA
()
APP_SET_APP
(char* appName)
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)