FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
TASK_REACT_AND_FLEE_PED
(Ped ped, Ped fleeTarget)
TASK_SHOOT_AT_COORD
(Ped ped, float x, float y, float z, int duration, Hash firingPattern)
TASK_SHOOT_AT_ENTITY
(Entity entity, Entity target, int duration, Hash firingPattern)
TASK_WARP_PED_INTO_VEHICLE
(Ped ped, Vehicle vehicle, int seatIndex)
TEMP_BAN_PLAYER
(char* playerSrc, char* reason)
TRIGGER_CLIENT_EVENT_INTERNAL
(char* eventName, char* eventTarget, char* eventPayload, int payloadLength)
TRIGGER_EVENT_INTERNAL
(char* eventName, char* eventPayload, int payloadLength)
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)