Raised This Month: $ Target: $400
 0% 

Run time error 10 (plugin "vcjb.amxx") (native "cs_get_user_team" )


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 08-03-2010 , 19:40   Re: Run time error 10 (plugin "vcjb.amxx") (native "cs_get_user_team" )
Reply With Quote #4

Code:
for( new i = 0; i < iNum; i++ )

EDIT: You should really code more optimistically than pessimistically. What I mean by that is that you return after every if() to avoid faulty conditions, but you should just execute the following code when you check the inverted situation for the current if() condition.

That's kind of hard to explain, so here's an example:
Code:
if( is_user_alive( id ) )     return; // code

Code:
if( !is_user_alive( id ) ) {     // code }
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT

Last edited by wrecked_; 08-03-2010 at 19:43.
wrecked_ 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 00:06.


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