Help error: initialization data exceeds declared size
#4

Quote:
Originally Posted by Rufio
Посмотреть сообщение
No. You have item_limits as a variable which isn't an array. You can't use string for item_limits so
"1" in your limits should just be 1
PHP код:
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 
}; 
OMG thanks you it working +rep for you.
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: 2 Guest(s)