Raised This Month: $ Target: $400
 0% 

Keeping track of reconnecting players before map change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 02-22-2006 , 14:41  
Reply With Quote #2

equali returns 0 if it didn't find anything, 1 if it did. you are checking to see if it does not equal -1, so this condition will always return true. you are confusing this with containi in which it returns -1 when nothing is found but sometimes 0 if something is.
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
 



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 20:26.


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