03-09-2011, 12:06 AM
03-09-2011, 02:36 AM
(03-09-2011, 12:06 AM)distroyed123 Wrote: [ -> ]lets get those plugins going for r174!!
Still waiting for some documentation ...
03-09-2011, 08:59 AM
Oh! Ahaha, anything specific?

03-09-2011, 10:27 AM
(03-09-2011, 08:59 AM)FakeTruth Wrote: [ -> ]Oh! Ahaha, anything specific?
hooks archive would be nice XD so we know what we have to work with
03-10-2011, 11:17 PM
03-11-2011, 09:43 AM
Okay I wrote something about the two new hooks:
OnTakeDamage: http://mc-server.org/wiki/doku.php?id=ap...takedamage
OnKilled: http://mc-server.org/wiki/doku.php?id=ap...n:onkilled
OnTakeDamage: http://mc-server.org/wiki/doku.php?id=ap...takedamage
OnKilled: http://mc-server.org/wiki/doku.php?id=ap...n:onkilled
03-15-2011, 05:29 AM
(03-11-2011, 09:43 AM)FakeTruth Wrote: [ -> ]Okay I wrote something about the two new hooks:
OnTakeDamage: http://mc-server.org/wiki/doku.php?id=ap...takedamage
OnKilled: http://mc-server.org/wiki/doku.php?id=ap...n:onkilled
function Plugin:OnTakeDamage( Pawn, TDI )
LOG("Damage: ".. TDI.Damage )
if( TDI.Instigator:IsA("cSpider") ) then -- Check if instigator is a Spider
TDI.Damage = 999 -- change the damage to 999 ! Instant killing spiders

end
end
so what would you change cSpider to to get the hook for fall damage?
03-17-2011, 04:30 AM
Instigator will be nil I think
03-19-2011, 06:35 AM