Skip to content

setFireStrength

Shared
NEON APIManaged fire

Available in Neon, not standard MTA

Changes how large a managed fire burns, without recreating it.

Syntax

bool setFireStrength(fire theFire, float strength)

Arguments

theFirefire

Managed fire element.

strengthfloat

Multiplier, minimum 0.1. Around 1, 2 and 3 select GTA's small, medium and large fire effects.

Returns

true when applied; false for an invalid element or value.

Ownership and lifecycle

A managed fire is an element owned by the resource that created it, so stopping that resource extinguishes its fires. Server-created fires are synchronized to every client, and lifetime is tracked as relative remaining time so a client joining mid-burn receives what is left.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →