Thread: [Solved] delete
View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-12-2020 , 15:02   Re: [Requist] Vip-Menu
Reply With Quote #25

Quote:
Originally Posted by Napoleon_be View Post
Should i do this in every loop? I mean can i also use break in the loop where i set double damage? Adjusted my code, let me know if it's alright or that there still should be some adjustments made.
Yes, if the goal of the loop is to find an element in a list. When the element is found, there's no reason to continue looping.
__________________

Last edited by OciXCrom; 01-12-2020 at 15:03.
OciXCrom is offline
Send a message via Skype™ to OciXCrom