Scripting/Server/Functions/CreateFire

Starts a fire on every client (radius 0-25).

Syntax

CreateFire(pos, radius)
CreateFire(x, y, z, radius)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "createfire" )
	{
		CreateFire( player.Pos, 5.0 );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Creating world entities

Categories: Server functions | Creating world entities