while() cpu load 100%
I have this code
PHP Code:
|
Re: while() cpu load 100%
oo maybe change new to static?
Code:
#include <amxmodx> |
Re: while() cpu load 100%
Quote:
Also, FYI, you cannot set a static variables value while declaring. PHP Code:
|
Re: while() cpu load 100%
ooo i will add that to my referring list thx xD :mrgreen:
|
Re: while() cpu load 100%
@xPaw :
while( ( iButton = find_ent_by_class( iButton, "func_button" ) != 0 ) ) { -> while( ( iButton = find_ent_by_class( iButton, "func_button" ) ) != 0 ) { |
Re: while() cpu load 100%
@arkshine: o_O i was so lame :mrgreen: thanks
|
Re: while() cpu load 100%
oo even that mistake could make 100% cpu usage O.O added to my referring list xD
|
Re: while() cpu load 100%
Quote:
|
Re: while() cpu load 100%
Misplaced closing ) I assume
|
Re: while() cpu load 100%
Yes, don't assume =) because this:
PHP Code:
the above mistake in less code: PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 01:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.