Quck help
#1

Hello what is wrong here

new TeamNames[6][15] =
{
"Pa Ekip",
"Grove Street",
"Ballas",
"Vatos Locos",
"Loz Aztecaz"
};


C:\Users\Digital\Documents\samp\gamemodes\fgm.pwn( 26) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

line 26 its };

Thanks for help
Reply
#2

You've set the size to 6 but you only have initialized 5 of them. You can use them without size:
pawn Код:
new TeamNames[][] =
{
    "Pa Ekip",
    "Grove Street",
    "Ballas",
    "Vatos Locos",
    "Loz Aztecaz"
};
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)