Jump to content
  • 0

Trader for bandit and hero, need some help


StiflersM0M

Question

3 answers to this question

Recommended Posts

  • 0

Hey hey, i want to create a trader which is for high bandits and high heros,

thats what i did so far in self_actions, but it wont work:

if((_traderMenu select 2) == "hero") then {
				_humanity_logic = (_humanity < 50000) || (_humanity > -50000);
			};

anyone know what i did wrong ?

 

Try:

_humanity_logic = ((_humanity < 50000) || (_humanity > -50000));
Link to comment
Share on other sites

  • 0

 

Try:

_humanity_logic = ((_humanity < 50000) || (_humanity > -50000));

allready tried it, seems to dont work also, my main imagine is that i do a donator trader where people has access if they donate, but i also want that normal players can have access, which have above 50K + or - hummanity.

Link to comment
Share on other sites

  • 0

Above 50k and below -50k? Your current code says otherwise. Right now you have written: from -50k to 50k... So basically anyone can access it now. What you need to do instead is:

_humanity_logic = ((_humanity > 50000) || (_humanity < -50000));
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...