10.06.2009, 14:44
Hello,
I'm stuck right now. I'm doing one cmd, that 'beat' the player and reduce 10 of his life.
Ex: James (ID 1) has 80 life and Bob (ID 2) type /beat 1, so the life of James will be reduce for 70.
But, just have GetPlayerHealth and SetPlayerHealth, and none of their are useful for me.
So, how do can I do this?
I just want the 'SetPlayerHealth(plid, ...........), know what I mean?
I'm stuck right now. I'm doing one cmd, that 'beat' the player and reduce 10 of his life.
Ex: James (ID 1) has 80 life and Bob (ID 2) type /beat 1, so the life of James will be reduce for 70.
But, just have GetPlayerHealth and SetPlayerHealth, and none of their are useful for me.
So, how do can I do this?
I just want the 'SetPlayerHealth(plid, ...........), know what I mean?