rwake345 10 Posted April 18, 2014 So I am trying to edit Altis Life so that I can mine stuff with the scroll wheel. What I have works, but for some reason you can just spam the scroll wheel and mine multiple times. Here is the code. life_actions = [player addAction ["Mine Copper",life_fnc_pickaxeUse,"",0,false,true,"","_this distance (getMarkerPos 'lead_1') < 30) && (life_action_inUse == false)"]]; As I said, the code works. It's just players can spam it and I don't know why. Any help would be great! Share this post Link to post Share on other sites
brians200 51 Posted April 18, 2014 Remove the addaction. Then sleep for a couple seconds. Then readd the addaction. Share this post Link to post Share on other sites