help in cmd

Started by [VM_U]Spectra.PhantoM^, Feb 13, 2016, 11:41 AM

Previous topic - Next topic

[VM_U]Spectra.PhantoM^

else if (cmd == "burn")
{
player.IsOnFire = true;
}
it gives error idk why.
Wanna Talk To Me? Come At Irc #Jugo@LUNet

DizzasTeR

IsOnFire is not used to set a player on fire instead it tells if a player is on fire.

[VM_U]Spectra.PhantoM^

hopes ruined :( i thought it would do that anywayz thankx . can u give an example on how to use this function?
Wanna Talk To Me? Come At Irc #Jugo@LUNet

Anik

If you want to burn the player. Create an explosion/

[VM_U]Spectra.PhantoM^

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.
Wanna Talk To Me? Come At Irc #Jugo@LUNet

Anik

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