FireClient

stopFireInRange

STOP_FIRE_IN_RANGE0x056A8A219B8E829F

The GTA V native STOP_FIRE_IN_RANGE of the FIRE namespace, as LS:MP client scripts call it: the global function stopFireInRange, in JavaScript and in Lua.

SignatureJavaScript
stopFireInRange(x: number, y: number, z: number, radius: number): void
SignatureLua
stopFireInRange(x: number, y: number, z: number, radius: number)

Usage

JavaScript
stopFireInRange(x, y, z, radius);
Lua
stopFireInRange(x, y, z, radius)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
stopFireInRange(pos, radius);
Lua · with vectors
stopFireInRange(pos, radius)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber
radiusfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Fire FIRE
In the game
void STOP_FIRE_IN_RANGE(float x, float y, float z, float radius)
Hash
0x056A8A219B8E829F

Open in the interactive natives reference