Raised This Month: $ Target: $400
 0% 

[PROBLEM SOLVED] [fcos] Run time error 4:index out of bounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Wolle
Member
Join Date: Jun 2005
Location: Berlin / Germany
Old 04-11-2006 , 18:40  
Reply With Quote #2

I unfortunately don't have that much time to go through your entire code but what actually like immediately caught my eyes is your use of global variables within function loops.
That's a big nono. Always try and make as many variables as possible local!
Im not saying that this fixes your error, as I mentioned above, but I'm saying that it's a good idea to make your gi_playernum and gi_playercnt local.
Wolle is offline
Send a message via AIM to Wolle
 



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 16:40.


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