Raised This Month: $ Target: $400
 0% 

Solved Data storage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-25-2018 , 13:18   Re: Data storage
Reply With Quote #5

Quote:
Originally Posted by HamletEagle View Post
Should work.
Should work but it's terrible, lol, I haven't even finished the code yet and there's already 4 loops inside each-other when retrieving
PHP Code:
new szEntId], eDataItemType ][ MAX_ENTS ][ ItemInfo ];
    
    for( new 
iArraySizeg_aItemsid ] ) - 1i++ )
    {
        
ArrayGetArrayg_aItemsid ], ieData );
        
        for( new 
iType=ITEM_POULETiType <= ITEM_SNACKiType++ )
        {
            for( new 
iNumiNum MAX_ENTSi++ )
            {
                if( 
eDataiType ][ iNum ][ Item_Id ] > )
                {
                    
num_to_striNumszEntIdcharsmaxszEntId ) );
                    
menu_additemiMenug_iPlayerDataid ][ ][ Item_Name ], szEntId );
                }
            }
        }
    } 
__________________

Last edited by edon1337; 07-25-2018 at 13:46.
edon1337 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 12:23.


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