SA-MP Forums Archive
Problem with skins - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem with skins (/showthread.php?tid=54848)



Problem with skins - Rady - 08.11.2008

I added new skins to the JoinPed and I changed the number to the skins I have..
new JoinPed[71][1] = {
Код:
{270},//GS Leader
{271},
{105},
{106},
{107},
{269}//GS end
};
And I have problem with the "};"
It says Error : error 052: multi-dimensional arrays must be fully initialized
How do I fix it ?


Re: Problem with skins - MenaceX^ - 08.11.2008

Show me all the JoinPed script



Re: Problem with skins - Rady - 08.11.2008

Here
.
.
Код:
new JoinPed[74][1] = {
{280},//POLICE_FORCE
{281},
{282},
{283},
{284},
{285},
{288},
{71},
{166},
{295},
{148},
{286},//FBI/ATF
{164},
{163},
{287},//NATIONAL_GUARD
{285},
{70},//FIRE/AMBULANCE
{274},
{275},
{276},
{277},
{278},
{279},
{258},//LA_COSA_NOSTRA
{127},
{126},
{125},
{124},
{113},
{111},
{98},
{120},//YAKUZA
{121},
{122},
{123},
{169},
{186},
{228},
{147},//Maoyr
{164},//Mayor
{127},//HITMANS
{165},
{186},
{93},
{141},
{148},//NEWS_REPORTERS
{188},
{187},
{255},//TAXI_CAB_COMPANY
{253},
{59},//DRIVING/FLYING_SCHOOL
{60},//DRIVING/FLYING_SCHOOL
{76},//DRIVING/FLYING_SCHOOL
{150},//DRIVING/FLYING_SCHOOL
{108},//Vagos
{109},//Vagos
{110},//Vagos
{29},//Racers
{28},//Racers
{30},//Racers
{115},//Aztecas
{116},//Aztecas
{117},//Aztecas
{104},//Ballas
{103},//Ballas
{102},//Ballas
{270},//GS Leader
{271},
{105},
{106},
{107},
{269}//GS end
};



Re: Problem with skins - MenaceX^ - 08.11.2008

What is the problem?



Re: Problem with skins - Rady - 08.11.2008

I get an error on the "};" in the end...
It says
error 052: multi-dimensional arrays must be fully initialized


Re: Problem with skins - Nero_3D - 08.11.2008

because you have defined 72 numbers but said it should be 74 so it give you that error
how to fix - you just put no number in or you put the right number in


Re: Problem with skins - MenaceX^ - 08.11.2008

As nero said.
Check how much skins you got and add their number at the top.


Re: Problem with skins - Rady - 08.11.2008

Oh.. I entered a SPACE instead of the number.. It conpiled..
Hope it works [=


Re: Problem with skins - MenaceX^ - 08.11.2008

Oh, I didn't see you haven't a space between last skin and };



Re: Problem with skins - Ozz - 15.05.2011

ey !
you puted wronket in nombers .. you muste to used atleasst about same nomber in as listet.

i hope i will helpet. =]