Raised This Month: $ Target: $400
 0% 

Empty An Array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 02-11-2013 , 06:49   Re: Empty An Array
Reply With Quote #2

Something like this, I guess
PHP Code:
Set3dArray(any:array[][][], any:valuexyz)
{
    for (new 
ijkxi++)
        for (
0yj++)
            for (
0zk++)
                array[
i][j][k] = value;
                
//arrayset(array[i][j], value, z);

PHP Code:
Set3dArray(g_RoundData0sizeof g_RoundDatasizeof g_RoundData[], sizeof g_RoundData[][]); 
__________________

Last edited by hleV; 02-11-2013 at 06:52.
hleV 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 20:39.


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