Chowy6 0 Posted December 19, 2020 I get this error for only one of the 3 things that my script returns. Any help for this? I followed the tutorial here and updated the code: https://dreambot.org/forums/index.php?/topic/628-scripting-tutorial-in-depth-no-prior-knowledge-needed-where-to-get-started-by-apaec/#comments EDIT: Resolved.
Pandemic 2853 Posted December 19, 2020 You have a ';' after the if statement a few lines above, so no matter what it's returning State.DROP and anything after that line isn't being reached.
Chowy6 0 Author Posted December 20, 2020 On 12/18/2020 at 7:13 PM, Pandemic said: You have a ';' after the if statement a few lines above, so no matter what it's returning State.DROP and anything after that line isn't being reached. OMG thank you so much! I put curly brackets instead and it's working flawlessly
Recommended Posts
Archived
This topic is now archived and is closed to further replies.