SetPlayerHoldingObject & Fire
#1

Hi!

I have found an bug, I think.
When I'm holding an object, and when I'm on fire, I can't die!
I've tested it on this way:
I've made an script, with 3 weapons: "Melee Weapon", "Big Weapon" and "Throw Weapons". The "Melee Weapon" and "Big Weapon" can be carried in your pants :P, or an bag. The Big Weapon can't. So when you're holding the Big Weapon, the server will stop with holding your object, and it will give the player the "Big Weapon". When you're not holding it, the server will remove the "Big Weapon" and let player holding the "Big Weapon" (GetWeaponModel function made -.-).
Whatever, my point is: I had molotov cocktails (as "Throw Weapon"'s) and I threw one (not too far away). I was currently holding the "Big Weapon" (M4) on my back (Because I had the Molotov Cocktails in my hand). I walked into the fire. I was in fire, of course. But I didn't loose HP! I switched to my M4 (Big Weapon, HoldingObject stopped) and I was loosing health (of course). I switched to "fists", and was holding the object again, and I loosed HP again!
So whatever,
When you're holding an object, you can't die of fire

Kind Regards,
Kevin
Reply
#2

Yeah, confirmed.
Annoying as hell...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)