Death System
#1

Hello Guys
i just need to add a new thing to the server that when you jump no -health or armour
and when someone box you no -health or armour
Can anyone help me with that?
Reply
#2

can anyone help me its hard to make it
Reply
#3

I don't understand what your asking, please elaborate.
Reply
#4

OnPlayerTakeDamage and OnPlayerGiveDamage have weaponid parameter, you can check that against whatever you want, WEAPON_COLLISION id 54 is what makes a player loses HP if they jump, then calculate the lost damage with the help of GetPlayerHealth and undo it by SetPlayerHealth.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)