error 029: invalid expression, assumed zero - 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)
+--- Thread: error 029: invalid expression, assumed zero (
/showthread.php?tid=456955)
error 029: invalid expression, assumed zero -
darkdave - 08.08.2013
I received these error at least:
error 029: invalid expression, assumed zero
error 008: must be a constant expression; assumed zero
I get errors in this row:
What should I do? Please help , thanks !
Код:
new GunPrice[30][1] = {
{210}, //baseballbat [4]
{350}, //sdpistol [13]
{420}, //colt45 [14]
{420}, //deagle [15]
{580}, //mp5 [18]
{700}, //shotgun [19]
{1250}, //ak47 [22]
{1250}, //m4 [23]
{12}, //pistolammo [25]
{42}, //shotgunammo [26]
{20}, //smgammo [27]
};
Re: error 029: invalid expression, assumed zero -
ikbenremco - 08.08.2013
pawn Код:
new GunPrice[30][1] = {
{210}, //baseballbat [4]
{350}, //sdpistol [13]
{420}, //colt45 [14]
{420}, //deagle [15]
{580}, //mp5 [18]
{700}, //shotgun [19]
{1250}, //ak47 [22]
{1250}, //m4 [23]
{12}, //pistolammo [25]
{42}, //shotgunammo [26]
{20} //smgammo [27]