Blockland Forums > Modification Help

Editing MaxHealth through Client

Pages: << < (3/3)

Greek2me:

Oh, I think he wants to change his health clientside, which is impossible.

Mapster:

No no no, I want it so when I get a certain number of a certain variable so that it will change my datablock to a datablock with more health than the default.

Read previous posts >.>

Sorry if title is misleading

infiniteLoop:


--- Quote from: Amade on October 02, 2011, 09:32:42 PM ---
--- Code: ---function AddVariableAmount(%player, %amount)
{
%player.variable = %player.variable + %amount;
if(%player.variable >= 1000)
{
%player.changeDatablock(HigherMaxHealthDatablock);
}
}
--- End code ---

--- End quote ---


Isn't this what you want. Maybe use crab head and this together.

Mapster:

Yeah thats what I want but I was asking what do I change other than the HigherMaxHealthDatablock?

Pages: << < (3/3)

Go to full version