extinguishFire
Client
Puts out the fires within a radius of a point. Without arguments, it puts out every fire on this client.
bool extinguishFire([float x, y, z = nil, float radius = 1])
Parameters
| Name | Type | Description |
|---|---|---|
| x, y, z | float | The centre of the area to put out. A vec3 also works.default nil |
| radius | float | The area's radius, in metres.default 1 |
Returns
true.
Example
local pos = getElementPosition(localPlayer)
extinguishFire(pos.x, pos.y, pos.z, 10)