I ask, can somebody make a fix to players in pvp was not hidden in the bears and the stove - so it is not damageWhats this?
Can I help you?How to remove the corpse of mutants after death?Oxide has a plugin where if you shoot a dead animal it just gets removed
- Kill a Bear
- Hide inside of the bear
- Can not take damage from other players
Can you send that? I'm wondering If It's hurtevent or not. Too lazy to test.Oxide has a plugin where if you shoot a dead animal it just gets removed
- Kill a Bear
- Hide inside of the bear
- Can not take damage from other players
Taken from R-AntiGlitch V 1.2 (removed in the later updates)Can you send that? I'm wondering If It's hurtevent or not. Too lazy to test.
function PLUGIN:ModifyDamage(takedamage,damage)
if(self.Config.AntiWolfAndBearGlitch) then
if not (tostring(type(damage) ~= "userdata")) or not (tostring(type(takedamage) ~= "userdata")) then
return
end
if(tostring(damage.status) == "IsDead: 2" and tostring(damage.damageTypes) == "damage_bullet: 2") then
if(damage.victim.idMain.GameObject:GetComponent("BearAI") or damage.victim.idMain.GameObject:GetComponent("WolfAI")) then
RemoveObject(damage.victim.idMain.GameObject)
end
end
end
end
will adapt to your fashion?already got - in pvp are hiding in the texturesTaken from R-AntiGlitch V 1.2 (removed in the later updates)
http://oxidemod.org/plugins/r-antiglitch.627/historyCode:function PLUGIN:ModifyDamage(takedamage,damage) if(self.Config.AntiWolfAndBearGlitch) then if not (tostring(type(damage) ~= "userdata")) or not (tostring(type(takedamage) ~= "userdata")) then return end if(tostring(damage.status) == "IsDead: 2" and tostring(damage.damageTypes) == "damage_bullet: 2") then if(damage.victim.idMain.GameObject:GetComponent("BearAI") or damage.victim.idMain.GameObject:GetComponent("WolfAI")) then RemoveObject(damage.victim.idMain.GameObject) end end end end
There is no hook to stop this from happening, On_NPCHurt doesn't work. Same with Entity/PlayerHurt hooks.will adapt to your fashion?already got - in pvp are hiding in the textures