else if (cmd == "burn")
{
player.IsOnFire = true;
}
it gives error idk why.
IsOnFire is not used to set a player on fire instead it tells if a player is on fire.
hopes ruined :( i thought it would do that anywayz thankx . can u give an example on how to use this function?
If you want to burn the player. Create an explosion/
Quote from: [DS]Anik on Feb 13, 2016, 11:50 AMIf you want to burn the player. Create an explosion/
ik that but i want an example on how to use this IsOnFire.
else if ( cmd == "playeronfire" )
{
local plr = GetPlayer( text );
MessagePlayer(plr.IsOnFire+"",player);
}
If you are on fire it will return true. And if u r not it will return false