r174
#1
lets get those plugins going for r174!!
Reply
Thanks given by:
#2
(03-09-2011, 12:06 AM)distroyed123 Wrote: lets get those plugins going for r174!!

Still waiting for some documentation ...
Reply
Thanks given by:
#3
Oh! Ahaha, anything specific?Tongue
Reply
Thanks given by:
#4
(03-09-2011, 08:59 AM)FakeTruth Wrote: Oh! Ahaha, anything specific?Tongue

hooks archive would be nice XD so we know what we have to work with
Reply
Thanks given by:
#5
(03-09-2011, 10:27 AM)distroyed123 Wrote:
(03-09-2011, 08:59 AM)FakeTruth Wrote: Oh! Ahaha, anything specific?Tongue

hooks archive would be nice XD so we know what we have to work with

mostly to get rid of the teleaDeath :O
Reply
Thanks given by:
#6
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
Reply
Thanks given by:
#7
(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 spidersBig Grin
end
end

so what would you change cSpider to to get the hook for fall damage?
Reply
Thanks given by:
#8
Instigator will be nil I think
Reply
Thanks given by:
#9
(03-17-2011, 04:30 AM)FakeTruth Wrote: Instigator will be nil I think

alright
Reply
Thanks given by:




Users browsing this thread: 4 Guest(s)