SA-MP Forums Archive
Error 029 - 008 Please Help! - 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: Error 029 - 008 Please Help! (/showthread.php?tid=255714)



Error 029 - 008 Please Help! - Tinsler - 16.05.2011

Hey guy's, i'm new to scripting, i've been working on my game mode, and i have "Error 008" And "Error 029", In which i currently can't fix.

C:\Users\Serenity\Desktop\MMM.pwn(26) : error 029: invalid expression, assumed zero
C:\Users\Serenity\Desktop\MMM.pwn(26) : error 008: must be a constant expression; assumed zero


The Script -

new RandomMSG[][] =
{
"**Dont Break The /Rules!!**",
"**/Cmdhelp For Commands!**",
"**Play Nice, Treat ALL Player's With Respect.**",
"**Owner's XFire Is - ******** - **.",
}; <------------ Line Of Errors.


Any Help would be appreaciated, i'm sorry if i did it in the wrong format, but this is my first topic on this forum.


Re: Error 029 - 008 Please Help! - TheGarfield - 17.05.2011

pawn Код:
new RandomMSG[4][128] =
{
"**Dont Break The /Rules!!**",
"**/Cmdhelp For Commands!**",
"**Play Nice, Treat ALL Player's With Respect.**",
"**Owner's XFire Is - ******** - **."
};
try this.


Re: Error 029 - 008 Please Help! - TheYoungCapone - 17.05.2011

Код:
new RandomMSG[][] =
{
"**Dont Break The /Rules!!**",
"**/Cmdhelp For Commands!**",
"**Play Nice, Treat ALL Player's With Respect.**",
"**Owner's XFire Is - ******** - **."
}
try that


Re: Error 029 - 008 Please Help! - Tinsler - 17.05.2011

Omg, Such a simple mistake! Thank you, I Respect you for this!