FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
START_RESOURCE
(char* resourceName)
STOP_RESOURCE
(char* resourceName)
TASK_COMBAT_PED
(Ped ped, Ped targetPed, int p2, int p3)
TASK_DRIVE_BY
(Ped driverPed, Ped targetPed, Vehicle targetVehicle, float targetX, float targetY, float targetZ, float distanceToShoot, int pedAccuracy, BOOL p8, Hash firingPattern)
TASK_ENTER_VEHICLE
(Ped ped, Vehicle vehicle, int timeout, int seatIndex, float speed, int flag, Any p6)
TASK_EVERYONE_LEAVE_VEHICLE
(Vehicle vehicle)
TASK_GO_STRAIGHT_TO_COORD
(Ped ped, float x, float y, float z, float speed, int timeout, float targetHeading, float distanceToSlide)
TASK_GO_TO_COORD_ANY_MEANS
(Ped ped, float x, float y, float z, float fMoveBlendRatio, Vehicle vehicle, BOOL bUseLongRangeVehiclePathing, int drivingFlags, float fMaxRangeToShootTargets)
TASK_GO_TO_ENTITY
(Entity entity, Entity target, int duration, float distance, float speed, float p5, int p6)
TASK_HANDS_UP
(Ped ped, int duration, Ped facingPed, int p3, BOOL p4)
TASK_LEAVE_ANY_VEHICLE
(Ped ped, int p1, int flags)
TASK_LEAVE_VEHICLE
(Ped ped, Vehicle vehicle, int flags)
TASK_PLAY_ANIM
(Ped ped, char* animDictionary, char* animationName, float blendInSpeed, float blendOutSpeed, int duration, int flag, float playbackRate, BOOL lockX, BOOL lockY, BOOL lockZ)
TASK_PLAY_ANIM_ADVANCED
(Ped ped, char* animDict, char* animName, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float animEnterSpeed, float animExitSpeed, int duration, Any flag, float animTime, Any p14, Any p15)
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
()