[Bug]OnPlayerOnFireChange, IsPlayerOnFire

Started by habi, Feb 28, 2022, 05:18 PM

Previous topic - Next topic

habi

The noted event and the function in the title, is not working.
I was making a plugin..
The event does not seem to get called.(Yes, i added the event to plugincallbacks).

The function IsPlayerOnFire always return 0 to me, when tried with stubby shotgun,Ruger.

Squirrel plugin also behaving similarly. So it might be a problem with the VCMP server itself.

Sebastian

isPlayerOnFire might be called when a player is actually burning, like from a molotov.
Try this case: throw a molotov to your second player, and then check the IsPlayerOnFire and onPlayerOnFireChange

habi

#2
yes. I understood- the player is on fire!

Topic Locked.