RedM Native Reference
(unofficial)
API Set:
all
server
client
Language:
raw
lua
c#
js
ADD_TEXT_ENTRY_BY_HASH
(Hash entryKey, char* entryText)
CAN_PLAYER_START_COMMERCE_SESSION
(char* playerSrc)
CANCEL_EVENT
()
CLEAR_DRAW_ORIGIN
()
CLONE_TIMECYCLE_MODIFIER
(char* sourceModifierName, char* clonedModifierName)
CREATE_AUDIO_SUBMIX
(char* name)
CREATE_DUI
(char* url, int width, int height)
CREATE_TIMECYCLE_MODIFIER
(char* modifierName)
CREATE_VEHICLE_SERVER_SETTER
(Hash modelHash, char* type, float x, float y, float z, float heading)
DELETE_ENTITY
(Entity entity)
DELETE_FUNCTION_REFERENCE
(char* referenceIdentity)
DELETE_RESOURCE_KVP
(char* key)
DELETE_RESOURCE_KVP_NO_SYNC
(char* key)
DESTROY_DUI
(long duiObject)
DISABLE_WORLDHORIZON_RENDERING
(BOOL state)
DOES_BOAT_SINK_WHEN_WRECKED
(Vehicle vehicle)
DOES_ENTITY_EXIST
(Object entity)
DOES_PLAYER_EXIST
(char* playerSrc)
DOES_PLAYER_OWN_SKU
(char* playerSrc, int skuId)
DOES_PLAYER_OWN_SKU_EXT
(char* playerSrc, int skuId)
DOES_TIMECYCLE_MODIFIER_HAS_VAR
(char* modifierName, char* varName)
DOOR_SYSTEM_GET_ACTIVE
()
DOOR_SYSTEM_GET_SIZE
()
DRAW_BOX
(float x1, float y1, float z1, float x2, float y2, float z2, int red, int green, int blue, int alpha)
DRAW_LINE
(float x1, float y1, float z1, float x2, float y2, float z2, int red, int green, int blue, int alpha)
DRAW_POLY
(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, int red, int green, int blue, int alpha)
DROP_PLAYER
(char* playerSrc, char* reason)
DUPLICATE_FUNCTION_REFERENCE
(char* referenceIdentity)
ENABLE_ENHANCED_HOST_SUPPORT
(BOOL enabled)
END_FIND_KVP
(int handle)
END_FIND_OBJECT
(int findHandle)
END_FIND_PED
(int findHandle)
END_FIND_PICKUP
(int findHandle)
END_FIND_VEHICLE
(int findHandle)
ENSURE_ENTITY_STATE_BAG
(Entity entity)