Jump to content
  • 0

HELP max humanity


darthmard

Question

I'm looking for script that will reset humanity to a set amount say 800000 if humanity goes over that level

 

so far been working with

if ((player getVariable"humanity") >= 800000) then {

player setVariable ["humanity","0",true]; 

_humanity = player getVariable ["humanity",0];
_humanity = _humanity +5000;
player setVariable ["humanity",_humanity,true]; 

};
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...