Raised This Month: $ Target: $400
 0% 

Quick for-loop question..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-30-2005 , 00:53   Quick for-loop question..
Reply With Quote #1

Just wondering if my mind serves me correctly from my past C++ experience.

Code:
for( new chk2=1; chk2<=get_maxplayers(); ++chk2)

That would Loop from 2 through maxplayers and

Code:
for( new chk2=1; chk2<=get_maxplayers(); chk2++)

would loop from 1 to maxplayers... correct?

thanks
__________________
Bugsy is offline
 



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 09:56.


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