RedM Natives

_STOP_FIRE_IN_BOX

Hash0xB7C7BDC375AEA9A4
Runtime nameStopFireInBox
NamespaceFIRE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _STOP_FIRE_IN_BOX(float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ);

Parameters

NameTypeDescription
posXfloat—
posYfloat—
posZfloat—
rotXfloat—
rotYfloat—
rotZfloat—
scaleXfloat—
scaleYfloat—
scaleZfloat—

Returns void

Usage

Lua
StopFireInBox(posX, posY, posZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ)

-- always works, by hash
Citizen.InvokeNative(0xB7C7BDC375AEA9A4, posX, posY, posZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ)
JavaScript and C#
JavaScript
StopFireInBox(posX, posY, posZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ);

// by hash
Citizen.invokeNative('0xB7C7BDC375AEA9A4', posX + 0.0000001, posY + 0.0000001, posZ + 0.0000001, rotX + 0.0000001, rotY + 0.0000001, rotZ + 0.0000001, scaleX + 0.0000001, scaleY + 0.0000001, scaleZ + 0.0000001);
C#
Function.Call((Hash)0xB7C7BDC375AEA9A4, posX, posY, posZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ);
  • 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.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.