Empty An Array
So while i started again to Code in pawn after some months, i checked up the Funcwiki of amxmodx.org , and i noticed MANY functions are missing, so i'm not really sure , how can i empty an array and how can i copy and array to another one I mean...
i have this: g_RoundData[FirstDimension][SecondDimension][ThirdDimension] copy to g_PrevRoundData[FirstDimension][SecondDimenstion][ThirdDImension] Like g_PrevRounData=g_RoundData.. and how to empty the current g_RoundData... |
Re: Empty An Array
Something like this, I guess
PHP Code:
PHP Code:
|
Re: Empty An Array
Yeah i had constructed it this way but this is a bit slow, actually my array is not 3 dimension, I'm using DDimension and i have
PHP Code:
|
Re: Empty An Array
PHP Code:
PHP Code:
|
Re: Empty An Array
Well the last dimension is the size of the array, so i guess i will remove [for roundata] the last for right ?
I'm setting values with it like: PHP Code:
|
Re: Empty An Array
Btw Score is ENUM
PHP Code:
|
| All times are GMT -4. The time now is 20:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.