JeezyCheese Posted August 12, 2020 Posted August 12, 2020 (edited) Just async and you're done Einfach Async machen und Fertig Edited August 20, 2020 by JeezyCheese
mZentorno Posted August 12, 2020 Posted August 12, 2020 let timeout = setTimeout(() => { //save in variable player.setVariable('farming', 1); player.stopAnimation(); player.position = player.position //player.position is a vector, don't need to convert, and why the same position? player.outputChatBox([!{242, 255, 0}INFO!{255, 255, 255}] Du hast 500 Schwarzgeld erbeutet!); player.schwarzgeld += 500; }, 20000); } else if (player.getVariable("farming") == 0){ } else { clearTimeout(timeout)
JeezyCheese Posted August 12, 2020 Author Posted August 12, 2020 (edited) Edited August 20, 2020 by JeezyCheese
JeezyCheese Posted August 12, 2020 Author Posted August 12, 2020 (edited) Einfach Async machen und fertig Just async and you're done Edited August 20, 2020 by JeezyCheese
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now