Signup Now
Results 1 to 3 of 3

Thread: Help!

  1. #1
    Free User hiransm's Avatar
    Join Date
    Dec 2013
    Posts
    133
    Reputation
    10
    Rep Power
    21

    Help!

    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

  2. #2
    Banned
    Join Date
    Dec 2013
    Location
    United States
    Posts
    848
    Reputation
    30
    Rep Power
    0
    Please post in the bug section. Moderators will help you out.

  3. #3
    Banned
    Join Date
    Dec 2013
    Location
    Porto Alegre - RS
    Posts
    524
    Reputation
    61
    Rep Power
    0
    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

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •