Raised This Month: $ Target: $400
 0% 

Keep List of players with details!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-10-2011 , 16:47   Re: Keep List of players with details!
Reply With Quote #6

johnally
Quote:
Will it work if I use "^0" ?
In your current example you can simply use players[id - 1][0]=0 (putting string termination symbol as first symbol in the string) and then check if (players[id - 1][0][0]) (if true then string is not free)
Arrays are the whole other story - Check cellarray.inc. Anyway, you don't need them: there is no point in creating a dynamic array when you surely know that your max array size is 32.
__________________


Last edited by SonicSonedit; 05-10-2011 at 16:51.
SonicSonedit 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 04:23.


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