array must be fully... ?
#1

Hi, I'm working with arrays for some time now and I strumbled on an error that I don't know how to fix...

Код:
C:\Users\William\Documents\New Stuntages\gamemodes\New_Stuntages.pwn(123) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
enum TypingContest
{
    cWord1[128],
    cWord2[128],
}

new cWords[21][TypingContest] =
{
    {"Fat", "Bear"},
    {"Big", "Car"},
    {"Lazy", "Dog"},
    {"Stupid", "Cow"},
    {"Funny", "Ice"},
    {"Lovely", "Human"},
    {"Interesting", "Baby"},
    {"Hilarious", "Server"},
    {"Ugly", "Fire"},
    {"Unbelieveable", "Gun"},
    {"Fighting", "Fish"},
    {"Racing", "Lion"},
    {"Stunting", "Bird"},
    {"Laughing", "Head"},
    {"Failing", "Leg"},
    {"Horny", "Weener"},
    {"Wanted", "Ass"},
    {"Hidden", "Video"},
    {"Dead", "Professor"}
}; //Error line
rep for helper...
Thanks in advance!
Reply
#2

uhoh, sorry for the stupid question, anyways it works, thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)