Scripting/Squirrel/Functions/Player.IsOnFire
This wiki is using an old backup from 2020
Some information may be old/missing
This function Returns if the Player Is On Fire or Not.
Syntax
player.IsOnFire
Arguements
N/A
Return value
- bool toggled - true or false
Example
function onPlayerCommand( player, cmd, text )
{
if ( cmd == "playeronfire" )
{
local plr = FindPlayer( text );
MessagePlayer(plr.IsOnFire+"",player);
}
}