This topic was marked solved by its starter, on March 1st, 04:33 AM
[Bug]OnPlayerOnFireChange, IsPlayerOnFire

habi

  • Sr. Member
  • Posts: 389
[Bug] OnPlayerOnFireChange, IsPlayerOnFire
«  »
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

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 1,193
[Bug] Re: OnPlayerOnFireChange, IsPlayerOnFire
« Reply #1,  »
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

  • Sr. Member
  • Posts: 389