StiflersM0M Posted September 20, 2014 Report Share Posted September 20, 2014 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 ? Link to comment Share on other sites More sharing options...
0 Rocu Posted September 20, 2014 Report Share Posted September 20, 2014 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 More sharing options...
0 StiflersM0M Posted September 20, 2014 Author Report Share Posted September 20, 2014 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 More sharing options...
0 Rocu Posted September 20, 2014 Report Share Posted September 20, 2014 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 More sharing options...
Question
StiflersM0M
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:
anyone know what i did wrong ?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now