Jump to content
Sign in to follow this  
rwake345

Altis Life mine with scroll wheel

Recommended Posts

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

Remove the addaction. Then sleep for a couple seconds. Then readd the addaction.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×