Raised This Month: $ Target: $400
 0% 

Solved Get max array of X flags in the loop


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-28-2022 , 09:22   Re: Get max array of X flags in the loop
Reply With Quote #8

Quote:
Originally Posted by Supremache View Post
what do you mean ?
szBuffer[istrlen-2] = '.' // it work like replace so i think i dont need to clear it !!
I meant why you didn't use jimmy's code and instead you kept using your code, jimmy's code is more efficient and faster.

And also you don't need the iPlayer variable just check whether the buffer is empty or not, like this...


PHP Code:
if( szBuffer[0] != EOS )
    {
        
szBufferstrlenszBuffer ) - ] = '.' // Changed the strlen form -1 to -2 because i added a space 
         
CC_SendMessage(idszBuffer);
    }
    else
    {
        
CC_SendMessageid"There are no vip's online." );
    } 
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-28-2022 at 09:36.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
 



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


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