Elsa Mist Posted November 13, 2014 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 387 Reputation: 60 Joined: 10/08/13 Last Seen: July 14, 2022 Share Posted November 13, 2014 Hello rA, I need a script if posible that we can prevent player use @autoattack while theyre vending. The example situation is like player need to farm empty bottle and they just create a vending in the middle of the egg at anthell. If any one could help this it really be much appreciate! Sorry for my bad english... Quote Link to comment Share on other sites More sharing options...
Skorm Posted November 14, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted November 14, 2014 It might be easier to just disable vending on those maps? anthell mapflag novending This might work though... - script AT_Command -,{ OnAT_Command: if( !checkvending() ) atcommand "@autoattack"; else message strcharinfo(0), "This command can't be used while vending."; end; OnInit: bindatcmd "autoattack","AT_Command::OnAT_Command"; } 1 Quote Link to comment Share on other sites More sharing options...
Elsa Mist Posted November 14, 2014 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 387 Reputation: 60 Joined: 10/08/13 Last Seen: July 14, 2022 Author Share Posted November 14, 2014 Thank Skorm for the reply... Yeah, i know mapflag could prevent this, but there is a ton of map to mapflag. case that ive stated above is just an example. btw, i will try the script It might be easier to just disable vending on those maps? anthell mapflag novending This might work though... - script AT_Command -,{ OnAT_Command: if( !checkvending() ) atcommand "@autoattack"; else message strcharinfo(0), "This command can't be used while vending."; end; OnInit: bindatcmd "autoattack","AT_Command::OnAT_Command"; } its working!!! +1 Quote Link to comment Share on other sites More sharing options...
Question
Elsa Mist
Hello rA,
I need a script if posible that we can prevent player use @autoattack while theyre vending.
The example situation is like player need to farm empty bottle and they just create a vending in the middle of the egg at anthell.
If any one could help this it really be much appreciate!
Sorry for my bad english...
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.