Help error: initialization data exceeds declared size
#1

PHP код:
enum enum_Itens
{
    
item_Id,
     
item_Type,
      
item_Model,
     
item_Name[24],
    
item_Limit,
    
bool:item_Candrop,
    
bool:item_CanUse,
    
item_Information[200]
}
new 
Itens[][enum_Itens] =
{
  
//ID    Type                     Model       Name                   Limit   CanDrop  CanUse  Information
    
{0,   ITEM_TYPE_NORMAL,        19382,      "Emepty",              "0",    false,   false,  "N/A"}, // Line 63
    
{1,   ITEM_TYPE_NORMAL,        11738,      "Med Kit",             "1",    true,    true,   "~>~ Bla bla."}, // Line 64
    
{2,   ITEM_TYPE_WEAPON,        348,        "Desert Eagle",        "1",    true,    true,   "~>~ Bla bla 3"// Line 65
}; 
Код:
./Source/Players/Inventory.pwn(63) : warning 228: length of initialler exceeds size of the enum field
./Source/Players/Inventory.pwn(63) : error 018: initialization data exceeds declared size
Help me
Reply


Messages In This Thread
Help error: initialization data exceeds declared size - by Libbyphay - 30.07.2018, 09:46
Re: Help error: initialization data exceeds declared size - by Libbyphay - 30.07.2018, 09:51
Re: Help error: initialization data exceeds declared size - by Rufio - 30.07.2018, 09:53
Re: Help error: initialization data exceeds declared size - by Libbyphay - 30.07.2018, 09:55

Forum Jump:


Users browsing this thread: 1 Guest(s)