RedM Native Reference
(unofficial)
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
EXECUTE_COMMAND
(char* commandString)
EXPERIMENTAL_LOAD_CLONE_CREATE
(char* data, int objectId, char* tree)
EXPERIMENTAL_LOAD_CLONE_SYNC
(Entity entity, char* data)
EXPERIMENTAL_SAVE_CLONE_CREATE
(Entity entity)
EXPERIMENTAL_SAVE_CLONE_SYNC
(Entity entity)
FIND_FIRST_OBJECT
(Entity* outEntity)
FIND_FIRST_PED
(Entity* outEntity)
FIND_FIRST_PICKUP
(Entity* outEntity)
FIND_FIRST_VEHICLE
(Entity* outEntity)
FIND_KVP
(int handle)
FIND_NEXT_OBJECT
(int findHandle, Entity* outEntity)
FIND_NEXT_PED
(int findHandle, Entity* outEntity)
FIND_NEXT_PICKUP
(int findHandle, Entity* outEntity)
FIND_NEXT_VEHICLE
(int findHandle, Entity* outEntity)
FLAG_SERVER_AS_PRIVATE
(BOOL private_)
FLUSH_RESOURCE_KVP
()
GET_ACTIVE_PLAYERS
()
GET_AIR_DRAG_MULTIPLIER_FOR_PLAYERS_VEHICLE
(char* playerSrc)
GET_ALL_OBJECTS
()
GET_ALL_PEDS
()
GET_ALL_VEHICLES
()
GET_CAM_MATRIX
(Cam camera, Vector3* rightVector, Vector3* forwardVector, Vector3* upVector, Vector3* position)
GET_CONSOLE_BUFFER
()