#1

{280},//Lebanese Forces
{285},
{143},//La Vice
{156},
{176},
{177},
{184}
};

error 052: multi-dimensional arrays must be fully initialized

What i do?
Reply
#2

Paste the whole array.
Reply
#3

Removed
Reply
#4

what u mean?
Reply
#5

Change to
pawn Код:
new JoinPed[65][] = {
Reply
#6

Quote:

new JoinPed[69][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},
{292},//SURENOS
{114},
{115},
{175},
{174},
{116},
{173},
{176},
{124},//Signatra
{125},
{126},
{111},
{123},
{186},
{228},
{249},//HITMANS
{68},
{72},
{121},
{295},
{148},//NEWS_REPORTERS
{188},
{187},
{255},//TAXI_CAB_COMPANY
{253},
{153},//DRIVING/FLYING_SCHOOL
{156},//DRIVING/FLYING_SCHOOL
{206},//DRIVING/FLYING_SCHOOL
{221},//DRIVING/FLYING_SCHOOL
{19},//Signatra
{22},
{22},
{144},
{170},
{180},
{280},//Lebanese Forces
{285},
{143},//La Vice
{156},
{176},
{177},
{184}
};

<<<Line 3206

Quote:

Then It Makes An Error: C:\Users\user\Desktop\iRealLife\gamemodes\larp.pwn (3206) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Reply
#7

Try what I posted above and can you please show us the line 3206
Reply
#8

Thanks Man!
Reply
#9

Yes that will work, but I don't get why you use a 2-dimensional array when you clearly only use one cell.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)