28.10.2018, 18:38
C:\Users\dozad\Desktop\Social-RP\gamemodes\socialgm.pwn(994) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.10.20160907 Copyright © 1997-2006, ITB CompuPhase
1 Error.
#define SHOP_OBJECTS (11)
#define EAT_OBJECTS (4)
#define BAR_OBJECTS (7)
#define GUN_OBJECTS (10)
static const stock gGunCosts[GUN_OBJECTS] = {50,100,70,30,60,40,40,60,70,60};
static const stock gGunNames[GUN_OBJECTS][32] = {"Knuckle Dusters", "Bata de baseball", "Shotgun", "Pistol 9mm", "Deagle", "MP5", "UZI", "AK47", "Sawnoff Shotgun", "M4"};
static const stock gShopCosts[SHOP_OBJECTS] = {450,300,300,550,100,150,300,70,70,150,200};
static const stock gShopProd[SHOP_OBJECTS] = {2,3,2,2,1,2,1,2,2,2,2};
static const stock gShopNames[SHOP_OBJECTS][25] = {"Telefon Mobil", "Cartela SIM", "Camera", "Home Medkit", "Flori", "Ceasuri", "Masca", "Tigari", "Medkit", "MP3 Player"};
static const stock gEateryCosts[EAT_OBJECTS] = {1,2,3,4};
static const stock gEateryProd[EAT_OBJECTS] = {1,1,1,1};
static const stock gEateryNames1[EAT_OBJECTS][25] = {"Pizza mica", "Pizza medie", "Pizza mare", "Pizza in cutie"};
static const stock gEateryNames2[EAT_OBJECTS][25] = {"Burger", "Burger mare", "Hamburger", "Hamburger in cutie"};
static const stock gEateryNames3[EAT_OBJECTS][25] = {"Cheeseburger", "BigMac", "Fri", "Pulpe in cutie"};
static const stock gBarCost[BAR_OBJECTS] = {1,2,3,4,5,6,7};
static const stock gBarProd[BAR_OBJECTS] = {1,1,1,1,1,1,1};
static const stock gBarNames[BAR_OBJECTS][25] = {"Apa", "Soda", "Coca-Cola", "Bere", "Vodka", "Cognac", "Absinthe"};
static const stock Job_Names[7][32] = {
"Nu",
"Sofer pe Autobus",
"Taxist",
"Transportator de Marfa",
"Transportator de haine",
"Automechanic",
"Trucker"
};
Pawn compiler 3.10.20160907 Copyright © 1997-2006, ITB CompuPhase
1 Error.
#define SHOP_OBJECTS (11)
#define EAT_OBJECTS (4)
#define BAR_OBJECTS (7)
#define GUN_OBJECTS (10)
static const stock gGunCosts[GUN_OBJECTS] = {50,100,70,30,60,40,40,60,70,60};
static const stock gGunNames[GUN_OBJECTS][32] = {"Knuckle Dusters", "Bata de baseball", "Shotgun", "Pistol 9mm", "Deagle", "MP5", "UZI", "AK47", "Sawnoff Shotgun", "M4"};
static const stock gShopCosts[SHOP_OBJECTS] = {450,300,300,550,100,150,300,70,70,150,200};
static const stock gShopProd[SHOP_OBJECTS] = {2,3,2,2,1,2,1,2,2,2,2};
static const stock gShopNames[SHOP_OBJECTS][25] = {"Telefon Mobil", "Cartela SIM", "Camera", "Home Medkit", "Flori", "Ceasuri", "Masca", "Tigari", "Medkit", "MP3 Player"};
static const stock gEateryCosts[EAT_OBJECTS] = {1,2,3,4};
static const stock gEateryProd[EAT_OBJECTS] = {1,1,1,1};
static const stock gEateryNames1[EAT_OBJECTS][25] = {"Pizza mica", "Pizza medie", "Pizza mare", "Pizza in cutie"};
static const stock gEateryNames2[EAT_OBJECTS][25] = {"Burger", "Burger mare", "Hamburger", "Hamburger in cutie"};
static const stock gEateryNames3[EAT_OBJECTS][25] = {"Cheeseburger", "BigMac", "Fri", "Pulpe in cutie"};
static const stock gBarCost[BAR_OBJECTS] = {1,2,3,4,5,6,7};
static const stock gBarProd[BAR_OBJECTS] = {1,1,1,1,1,1,1};
static const stock gBarNames[BAR_OBJECTS][25] = {"Apa", "Soda", "Coca-Cola", "Bere", "Vodka", "Cognac", "Absinthe"};
static const stock Job_Names[7][32] = {
"Nu",
"Sofer pe Autobus",
"Taxist",
"Transportator de Marfa",
"Transportator de haine",
"Automechanic",
"Trucker"
};