multi-dimensional arrays must be fully initialized
#3

pawn Код:
new Announcements[][] = { // Announcements[number of announcement messages][string lengh]
"{FF0000}SerVer >> {FF00E6}To teleport around, type {FFFF00}/teles",
"{FF0000}SerVer >> {FF00E6}Make sure to visit our web - {FFFF00}www.ngenstunting.com",
"{FF0000}SerVer >> {FF00E6}Basic: {FFFF00}/help {FFFFFF}- {FFFF00}/rules {FFFFFF}- {FFFF00}/t {FFFFFF}- {FFFF00}/v",
"{FF0000}SerVer >> {FF00E6}Donate our server,To keep our server alive"
};
You used 6 but you have only 4 messages. Removing the size completely won't give any error for this again (in the future since you may add/remove messages).
Reply


Messages In This Thread
multi-dimensional arrays must be fully initialized - by RedbullGD - 23.06.2014, 15:31
AW: multi-dimensional arrays must be fully initialized - by Mellnik - 23.06.2014, 15:35
Re: multi-dimensional arrays must be fully initialized - by Konstantinos - 23.06.2014, 15:36
Re: multi-dimensional arrays must be fully initialized - by RenovanZ - 23.06.2014, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)