createFire
Client
Starts a fire at a point, on this client only. It burns for 5 seconds.
bool createFire(float x, y, z [, float size = 1.8])
Parameters
| Name | Type | Description |
|---|---|---|
| x, y, z | float | Where the fire starts. A vec3 also works. |
| size | float | The size of the flames.default 1.8 |
Returns
true if the fire started, false if no free fire was left.
Example
local pos = getElementPosition(localPlayer)
createFire(pos.x + 3, pos.y, pos.z, 2.5)