Scripting/Squirrel/Functions/Player.IsOnFire

From Vice City Multiplayer
Revision as of 14:10, 10 March 2016 by Anik (talk | contribs)
Jump to navigation Jump to search
Caution icon
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);
}
}

By Anik