thetrooper 10 Posted January 24, 2016 Hi all, Is there an easy way to detect if a greyhawk is below a set of ammo to do something?ie. if (fuel grey1 < 0.8 | ammo grey1 < 0.9) then { hint "Stop and turn your engine off for maintenance"} Fuel works fine. Not ammo though Share this post Link to post Share on other sites
killzone_kid 1326 Posted January 24, 2016 Maybe try https://community.bistudio.com/wiki/needReload Share this post Link to post Share on other sites
thetrooper 10 Posted January 24, 2016 doesn't seem tyo be working. Even if i try it will full ammo still says message. if (fuel grey1 < 0.8 | needReload grey1 < 0.2) then { hint "Stop and turn your engine off for maintenance"} Share this post Link to post Share on other sites
killzone_kid 1326 Posted January 24, 2016 if (fuel grey1 < 0.8 | needReload grey1 < 0.2) Pretty sure this ^^^^^ is not the correct SQF syntax Even if i try it will full ammo still says message needReload with full ammo is 0, please read the command description Share this post Link to post Share on other sites
thetrooper 10 Posted January 24, 2016 I just realised that not even the fuel bit is working in my Sqf file. Any ideas? Share this post Link to post Share on other sites