Raised This Month: $ Target: $400
 0% 

Question Infinite loop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kazalu
Senior Member
Join Date: Dec 2013
Location: Romania
Old 12-29-2014 , 14:38   Re: Question Infinite loop
Reply With Quote #1

for( ; ; )
client_print( 0, print_chat, "LOOOOOPYYYY" );

But I guess that would crash the server or create mad lag.

Or when you make smth like
X = 3

while( x >= 2 )
{
//execute stuff
x++;
}

Last edited by Kazalu; 12-29-2014 at 14:39.
Kazalu is offline
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 12-29-2014 , 14:46   Re: Question Infinite loop
Reply With Quote #2

Quote:
Originally Posted by Kazalu View Post
for( ; ; )
client_print( 0, print_chat, "LOOOOOPYYYY" );

But I guess that would crash the server or create mad lag.

Or when you make smth like
X = 3

while( x >= 2 )
{
//execute stuff
x++;
}
Ok, thnx ... any other example ?
__________________
ghost95v is offline
Send a message via Skype™ to ghost95v
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 15:29.


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