Oliver Hope 261 Posted June 25, 2019 In this script the if statment always runs the else section even when 'variable' is false. I made the local variable so i could print out the loaded ammo to confirm that it was 0. Logs: output_log.txt output_log_clean.txt DM me for scenario. Share this post Link to post Share on other sites
Shadow72 187 Posted June 25, 2019 Try checking if the 'Variable' is equal to false instead of checking if it is equal to zero. Share this post Link to post Share on other sites
Houp 237 Posted June 26, 2019 Hi, there is problem that "Get loaded ammo" has wrong type. Probably there will be small fix update soon and this should be fixed there. (one of the fixes) Edit: I removed estimate of the time of the fix update Share this post Link to post Share on other sites
Oliver Hope 261 Posted June 26, 2019 1 minute ago, Houp said: Hi, there is problem that "Get loaded ammo" has wrong type. Probably there will be hotfix this week and this should be fixed there. (one of the fixes) Oh ok, I was very confused ? is they a temporary solution I can implement? Share this post Link to post Share on other sites
Houp 237 Posted June 26, 2019 try to compare it as strings (Variable+"" == "0") 1 Share this post Link to post Share on other sites
Houp 237 Posted July 16, 2019 Should work in today's hot fix 1 Share this post Link to post Share on other sites