Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest mds begin
- state start begin
- when login begin
- loop_timer("ig_coins", 10)
- pc.setqf("ig_coins_time", get_time() + 10)
- end
- when ig_coins.timer begin
- if pc.getqf("ig_coins_time") <= get_time() then
- local coins = mysql_query("SELECT coins from account.account WHERE id="..pc.get_account_id().." LIMIT 1;")[1][1]
- cmdchat("Mds "..coins)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement