Raised This Month: $ Target: $400
 0% 

Solved Prevent double looping


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 07-16-2018 , 10:48   Re: Prevent double looping
Reply With Quote #1

Just a point: If the 1st loop hits g_szWeapons number, then no more weapons should be spawned, so it's ok to break the 2nd loop.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-16-2018 , 11:10   Re: Prevent double looping
Reply With Quote #2

Quote:
Originally Posted by EFFx View Post
Just a point: If the 1st loop hits g_szWeapons number, then no more weapons should be spawned, so it's ok to break the 2nd loop.
I don't even need the 2nd loop anymore as I mentioned, but you're right.

Quote:
Originally Posted by CrAzY MaN View Post
Use if else with a bool, or just use this!
What?
__________________
edon1337 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode