You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enum E_ENUM
{
Money, // value = 0
Score, // value = 1
AdminLevel, //value = 2
Name[24], //value = 3
Wanted Level, //value = 27
TwoDArray[5][5], // value = 28
NextVar, //value = must be 58, the extra 5 cells to store the address array for TwoDArray
}
new EnumArray[500][E_ENUM]; //E_ENUM gives the total size
EnumArray[0][Score] = 0; //is as good as EnumArray[0][1]
EnumArray[0][TwoDArray][2][2] //problem
The problem is that PAWN does not store 2D arrays like 1D array (C/++ style arrays). It stores 2D arrays by storing the addresses of the sub arrays in an array (it is explained here)
as title says
я могу проспонсировать, вопрос цены?
The text was updated successfully, but these errors were encountered: