Scripting/Squirrel/Functions/Player.IsOnFire

From Vice City Multiplayer
Revision as of 15:34, 26 January 2017 by NicusorN5 (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);
}
}