help me! initialization data exceeds declared size
#1

hello guys!

i want make bus stops for my GF RP edit but it have error !
when i dont use in the mode only warning how unused...

Код:
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(694) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(694) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(694) : error 018: initialization data exceeds declared size
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(708) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(708) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(708) : error 018: initialization data exceeds declared size
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(722) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(722) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(722) : error 018: initialization data exceeds declared size
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(734) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(734) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(734) : error 018: initialization data exceeds declared size
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(748) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(748) : warning 228: length of initialler exceeds size of the enum field
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(748) : error 018: initialization data exceeds declared size
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(14434) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Код:
#define MENETREND 6
#define MEGALLOK 15

enum megallonfo
{
	Float:bsmx,
	Float:bsmy,
	Float:bsmz,
	bsName,
	bsName1
}

new BusStopInfo[MENETREND][MEGALLOK][megallonfo] = {
//
{
{1815.6783,-1875.2240,13.5781,"LS Unity Station","LS Vonat Бllomбs"}, 	// Vonat Бllomбs
{1955.2424,-2138.1184,13.5469,"LS Airport","LS Reptйr"}, 				// LS Reptйr
{2288.3179,-2363.8289,13.5469,"LS Military","LS Katonasбg"},	 		// LS Katonasбg
{2242.7300,-1738.5323,13.5469,"LS Gym","LS Edzőterem"}, 				// LS Edzőterem
{2648.4302,-1670.5759,10.8027,"LS Arena","LS Arйna"}, 					// LS Arena
{2242.5837,-1146.7250,25.9473,"Jefferson Motel","Jefferson Motel"}, 	// Jefferson Motel
{2275.6362,-1651.8765,15.3458,"Ten Bottle Pub","Tнz Ьveg Kocsma"}, 		// Ten Bottle
{1828.5566,-1653.8107,13.5469,"Alhambra","Alhambra"}, 					// Alhambra
{1506.1611,-1028.5397,23.7932,"LS Bank","LS Bank"}, 					// LS Bank
{956.11360,-1111.1570,23.7474,"LS Graveyard","LS Temető"}, 				// LS Temető
{1144.3680,-1734.0518,13.7734,"LS Bus Station","LS Busz Vegбllomбs"} 	// vйgбllomбs
},
//
{
{1490.7166,-1739.2946,13.5469,"LS Cityhall","LS Vбroshбza"}, 							// vбroshбza
{1535.5497,-1697.3112,13.5469,"LSPD","LSPD"}, 											// LSPD
{1507.0365,-1029.2395,23.7976,"LS Bank","LS Bank"}, 									// Bank
{956.63700,-1109.6458,23.7295,"LS Graveyard","LS Temető"}, 								// LS temető
{1189.3594,-1368.8754,13.5413,"LS 1st Hospital","LS I. Kуrhбz"}, 						// LS I. Kуrhбz
{1580.3998,-1446.6721,13.5391,"FBI Office","FBI Iroda"}, 								// FBI iroda
{1956.5112,-1472.4623,13.5469,"BMX Course","BMX Pбlya"}, 								// BMX Pбlya
{1814.9441,-1869.4928,13.5704,"LS Unity Station","LS Vonat Бllomбs"}, 					// Vonat Бllomбs
{2500.9165,-2095.4346,13.5469,"Luxus/Sport/Hotrod Factory","Luxus/Sport/Hotrod Gyбr"}, 	// Luxus, Sport, HotRod Gyбr
{2264.8618,-1746.0338,13.5469,"LS Gym","LS Edzőterem"}, 								// LS Gym
{1251.1624,-1846.0938,13.5473,"LS Bus Station","LS Busz Vegбllomбs"} 					// vegбllomбs
},
//
{
{1155.4799,-1411.9943,13.5960,"LS Plaza","LS Plбza"}, 					// LS Plбza
{1432.5829,-1039.9877,23.8281,"LS Bank","LS Bank"}, 					// LS Bank
{1840.7677,-1212.6677,20.1771,"Glen Park","Glen Park"}, 				// Glen Park
{2106.4724,-1412.6394,24.0000,"LS 2nd Hospital","LS II. Kуrhбz"}, 		// LS II. Kуrhбz
{1827.7090,-1641.5510,13.5469,"Alhambra","Alhambra"}, 					// alhambra
{1537.7540,-1586.3021,13.5469,"LSPD","LSPD"}, 							// LSPD
{1293.1678,-1388.5609,13.4335,"Paint Ball","Paint Ball"},				// Paint Ball
{968.75350,-1105.4877,23.8654,"LS Graveyard","LS Temető"},				// LS Temető
{1150.5376,-1735.0717,13.7734,"LS Bus Station","LS Busz Vegбllomбs"} 	// vйgбllomбs
},
//
{
{1418.90320,-1040.3501,23.8281,"LS Bank","LS Bank"}, 						// LS Bank
{969.528400,-1105.8408,23.8654,"LS Graveyard","LS Temető"}, 				// LS tamető
{-18.912600,-1509.7653,2.16410,"LS-SF Caravan Site","LS-SF Lakуkocsi Park"},// LS-SF lakуkocsi park
{-1564.4825,-457.48610,6.15530,"SF Airport","SF Reptйr"}, 					// SF reptйr
{-2116.3167,-518.78010,35.8911,"SF Arena","SF Arйna"}, 						// SF Arйna
{-2082.5854,-76.899600,35.3203,"Car DMV","Autу DMV"}, 						// Autу DMV
{-1997.6475,261.445400,31.2755,"Wang Cars","Wang Cars"}, 					// Wang Cars
{-1960.7023,1095.86110,55.7188,"SF Church","SF Templom"}, 					// SF templom
{-2616.3433,1326.15890,7.18750,"Jizzy Disco","Jizzy Diszkу"}, 				// Jizzy Disco
{-1567.9487,709.060700,7.18750,"SFPD","SFPD"}, 								// SFPD
{-1984.7655,166.607600,27.6875,"LS Bus Station","LS Busz Vegбllomбs"} 		// SF vйgбllomбs
},
//
{
{-1998.1132,251.394900,30.2453,"Wang Cars","Wang Cars"}, 				// Wang cars
{-2556.2722,178.805800,5.16930,"Gaydar Station","Gaydar Station"}, 		// Gaydar Station
{-2683.5059,223.924900,4.32810,"Wheel Arch Angels","Wheel Arch Angels"},// Wheel Arch Angels
{-2731.1074,-306.35660,7.18750,"Golf Club","Golf Club"}, 				// Golf Club
{-2438.1282,-599.78680,132.204,"ELMU","ELMU"},							// ELMЬ
{-1918.0675,-1775.4403,30.3867,"SF Dump","SF Szemйttelep"}, 			// SF szemйttelep
{-2281.3779,-2209.7144,29.4143,"Mount Chilliad","Chilliad Hegy"}, 		// Mount Chilliad
{654.853900,-1209.9033,18.4063,"LS Tenis Court","LS Tenisz Pбlya"}, 	// LS Tenisz pбlya
{1429.88850,-1040.4774,23.8281,"LS Bank","LS Bank"}, 					// LS Bank
{1840.59740,-1213.4972,20.0272,"Glen Park","Glen Park"}, 				// Glen Park
{1815.26550,-1664.5455,13.5469,"Alhambra","Alhambra"}, 					// Alhambra
{1955.14310,-2139.4475,13.5469,"LS Airport","LS Reptйr"}, 				// LS Reptйr
{1158.81070,-1845.7844,13.5612,"LS Bus Station","LS Busz Vegбllomбs"} 	// Vegбllomбs
}
};
Reply
#2

pawn Код:
enum megallonfo
{
    Float:bsmx,
    Float:bsmy,
    Float:bsmz,
    bsName[32],
    bsName1[32],
}
Reply
#3

aaa...thanks i didnt see it

but...

Код:
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(731) : error 052: multi-dimensional arrays must be fully initialized
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(745) : error 018: initialization data exceeds declared size
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(761) : error 018: initialization data exceeds declared size
D:\Ricsi\Hun Role Play\TUNING RP\RPG.pwn(14434) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#4

i read it...but i cant fix...i gave new sizes but didnt work...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)