A little help, Please
#1

I get this Error

Код:
C:\Users\Admin\Desktop\My Script\gamemodes\nhrp.pwn(1456) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Here is the code PS: The Error is the "};" at the bottom of the code
Scroll down to find the error. PS: I dumped the "Custom Script" version, so this the the real GF.

pawn Код:
new PedSkins[176][1] = {
{299}, //default skin
{10},
{101},
{12},
{13},
//{136},
{14},
//{142},
//{143},
{15}, //10
{151},
{156},
{168},
{170},
//{180},
{182},
{54},
{183},
{184},
{75}, //20
//{185},
{19},
{216},
{20},
{206},
//{21},
//{22},
{210},
{214},
{215}, //30
//{220},
{225},
{226},
//{222},
{223},
{231},
{228},
{234},
{76}, //40
{235},
{236},
{89},
{88},
//{24},
{218},
{240},
//{25},
{250},
{261}, //50
//{28},
{40},
{41},
{35},
{37},
{38},
{36},
{44},
//{69},
{43}, //60
{46},
{9},
{93},
{39},
{48},
{47},
{262},
{229},
{58},
{59}, //70
{60},
{232},
{233},
{67},
{7},
{72},
{55},
{94},
{95},
{98}, //80
{56},
{128},
{129},
{130},
{131},
{132},
{133},
{157},
{158},
{159}, //90
{160},
{196},
{197},
{198},
{199},
{161},
{162},
{200},
{201},
{202}, //100
{31},
{32},
{33},
{34},
{138},
{139},
{140},
{145},
{146},
{154}, //110
{251},
{92},
{97},
{45},
{18},
{258},
{259},
{26},
{51},
{52}, //120
{80},
{81},
{23},
{96},
{99},
{11},
// {141},
{148},
// {150},
{153}, //130
{167},
{68},
{171},
//{176},
//{177},
{172},
{179},
{189},
//{203},
//{204}, //140
{155},
{205},
{209},
{217},
{211},
{219},
{260},
{16},
{27},
{264}, //150
{70},
{152},
{178},
{237},
{238},
{243},
{244},
{207},
{245},
{246}, //160
{85},
{256},
{257},
{64},
{63},
{87},
{90},
//{195},
//{190},
{191}, //170
{192},
{193},
{194},
{134},
{135},
{137},
{181},
{213},
{212},
{230}, //180
{239},
{249},
{241},
{242},
// {252},
{29},
//{30},
{49},
{50},
{57}, //190
{62},
{66},
{73},
{77},
{78},
{79},
{82},
{83},
{84}
}; // ERROR IS DOWN HERE!!
Reply
#2

Try
pawn Код:
new PedSkins[][] = {
EDIT:

"to retrieve the array size you can use sizeof PedSkins ;"

Taken from http://forums.alliedmods.net/showthread.php?t=114107
Reply
#3

@Vero - Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)