Blockland Forums > Modification Help

Reducing a Player's Health

Pages: (1/1)

brickybob:

Sorry for 2 posts in the same board in a day, but how do I reduce 25 health from a certain player?

As in, find his/her object ID and reduce 25 health from said object?

Thanks in advance.

brickybob:

Derp, I found a way.

findclientbyname(%cl.name).player.addHealth(-25);

Pages: (1/1)

Go to full version