Skip to content

extinguishFire

Shared
NEON EXTENSIONManaged fire

A standard MTA API with Neon behavior

Destroys one managed fire element, in addition to the standard radius and no-argument forms.

Syntax

bool extinguishFire(fire theFire)

Arguments

theFirefire

Managed fire element to extinguish.

Returns

true when the managed fire was destroyed; false otherwise.

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.

Important behavior
  • The legacy position/radius and no-argument forms still apply to native GTA fires and are unchanged.
  • Stopping the owning resource extinguishes its managed fires automatically.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →