RedM Natives

RDR3 · RedM · Cfx runtime

Find the native.
Call it right.

7,628 natives with their signature, the Lua, JS and C# call the runtime actually makes, linked enums and verified notes. Search by name, runtime name or hash.

Try GetEntityCoords0xD42BD6EB2E0F1677TASK_ENTER_TRANSPORTpromptSetPedConfigFlag

Specimen sheetMISC
GET_GROUND_Z_FOR_3D_COORD
Hash0x24FA4267BB8D2431
Runtime nameGetGroundZFor_3dCoord
Lua
local retval, groundZ = GetGroundZFor_3dCoord(x, y, z, p4)
local retval, groundZ = Citizen.InvokeNative(0x24FA4267BB8D2431, x, y, z, Citizen.PointerValueFloat(), p4, Citizen.ReturnResultAnyway())
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Open the full sheet
Natives7,628
Named5,802
Described2,193
Enums & flags63
Reference rows1,074,657
Last sync

For AI agents

Connect the whole reference to your assistant

One command adds the MCP server to Claude Code. Agents can then search natives, read full docs, look up enums and compute hashes instead of guessing. Every page is also available as llms.txt, Markdown and JSON.

Set up MCP, API and llms.txt

Claude Code
claude mcp add --transport http redm-natives https://natives.borderlinerp.com/mcp

Sheet index

Namespaces, with the share of natives that have a description.