ExtinguishAllFires

From Multi Theft Auto: Wiki
Jump to: navigation, search

FROM VERSION 1.5.5 r12246 ONWARDS
This function is used to extinguish all fires.

Syntax

bool extinguishAllFires ( )

Returns

Returns true if successful, false otherwise.

Example

This example creates 10 fires and then instantly extinguishes them.

local start = {0, 0, 4}

for i = 1, 10 do
    createFire(start[1] + i, start[2], start[3])
end

extinguishAllFires()

See Also

FROM VERSION 1.5.5 r12246 ONWARDS