RedM Natives MCP
查詢 RedM / RDR3 natives:精確簽名、雜湊值及 Lua/JS/C# 呼叫,以及列舉、blip 圖示/樣式、ped 模型、動畫和 joaat 雜湊。
託管 MCP 伺服器
npx add-mcp 'https://natives.borderlinerp.com/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
GET_GROUND_Z_FOR_3D_COORD
Hash 0x24FA4267BB8D2431
Runtime name GetGroundZFor_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. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to 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.
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.
Claude Code
claude mcp add --transport http redm-natives https://natives.borderlinerp.com/mcp