Get Backers Posted November 27, 2020 Posted November 27, 2020 can i request clear-up monster for example you need at least 10M to clear out the monsters in this room thanks Quote
2 sader1992 Posted November 27, 2020 Posted November 27, 2020 (edited) prontera,0,0,0 script Clear-Monsters 444,{ .@zeny = 10000000; mes "do you like to clear all the monsters in this map ?"; mes "It will cost you " + F_InsertComma(.@zeny) + "z"; if(select("Yes:No") == 2) end; clear; if(Zeny < .@zeny){ mes "you don't have " + F_InsertComma(.@zeny) + "z"; end; } Zeny -= .@zeny; killmonsterall(strnpcinfo(4)); mes "Done!"; end; } Edited November 27, 2020 by sader1992 1 1 1 Quote
1 sader1992 Posted November 27, 2020 Posted November 27, 2020 1 hour ago, Get Backers said: Thank you so much its ok can you add if there is no monster on the map can not use clear monster.! prontera,0,0,0 script Clear-Monsters 444,{ if(!getmapunits(BL_MOB,strnpcinfo(4))){ mes "no monsters in this map!"; end; } .@zeny = 10000000; mes "do you like to clear all the monsters in this map ?"; mes "It will cost you " + F_InsertComma(.@zeny) + "z"; if(select("Yes:No") == 2) end; clear; if(Zeny < .@zeny){ mes "you don't have " + F_InsertComma(.@zeny) + "z"; end; } Zeny -= .@zeny; killmonsterall(strnpcinfo(4)); mes "Done!"; end; } 1 1 Quote
0 Get Backers Posted November 27, 2020 Author Posted November 27, 2020 (edited) Thank you so much its ok can you add if there is no monster on the map can not use clear monster.! Edited November 27, 2020 by Get Backers Quote
0 Get Backers Posted November 27, 2020 Author Posted November 27, 2020 Thank you so much! problem solved! Quote
Question
Get Backers
can i request clear-up monster for example you need at least 10M to clear out the monsters in this room thanks
4 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.