How can i stop this fucking alert that i dont have gold in the bank? ¬¬'
i'm trying to make a new script and this fcking alert don't stop
Printable View
How can i stop this fucking alert that i dont have gold in the bank? ¬¬'
i'm trying to make a new script and this fcking alert don't stop
Please post in the bug section. :) Moderators will help you out. :)
Put money on it ^-^
Are you using depositerbank()?
This is check alert from function....
If you want to do your script without use full lua
Or its a big error but
Put this code before the action:
Code:function depositerbank(supplycategory) if not ischannel('NPCs') then
say('hi')
wait(2500,3000)
else
npcsay('hi')
wait(500,1000)
end
npcsay('deposit all') wait(500,1000)
npcsay('yes') wait(500,1000)
-- check balance
repeat
npcsay('balance')
until waitmessage('', 'Your account balance is %d+', 2000, true, MSG_NPC)
-- withdraw needed money
local towithdraw = moneytowithdraw(supplycategory)
local success = false
repeat
if $balance >= towithdraw then
repeat
npcsay('withdraw '..towithdraw) wait(500,1000)
npcsay('yes')
success = waitmessage('', 'Here you are, '..towithdraw..' gold. Please let me know if there is something else I can do for you.', 2000, false, MSG_NPC)
until success
else
wait(1000)
end
until success
end