03-09-2011, 12:06 AM
lets get those plugins going for r174!!
r174
|
03-09-2011, 12:06 AM
lets get those plugins going for r174!!
03-09-2011, 02:36 AM
03-09-2011, 08:59 AM
Oh! Ahaha, anything specific?
![]()
03-09-2011, 10:27 AM
(This post was last modified: 03-09-2011, 10:30 AM by distroyed123.)
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
03-15-2011, 05:29 AM
(03-11-2011, 09:43 AM)FakeTruth Wrote: Okay I wrote something about the two new hooks: 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
|
« Next Oldest | Next Newest »
|