Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: habi on February 28th, 2022, 05:18 PM

Title: [Bug]OnPlayerOnFireChange, IsPlayerOnFire
Post by: habi on February 28th, 2022, 05:18 PM
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.
Title: Re: [Bug]OnPlayerOnFireChange, IsPlayerOnFire
Post by: Sebastian on February 28th, 2022, 06:10 PM
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
Title: Re: [Bug]OnPlayerOnFireChange, IsPlayerOnFire
Post by: habi on March 1st, 2022, 04:33 AM
yes. I understood- the player is on fire!

Topic Locked.