SA-MP Forums Archive
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=638186)



error 029: invalid expression, assumed zero - anltrn - 28.07.2017

Please Help

warning 215: expression has no effect
error 001: expected token: ";", but found "["
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line

Код:
LinesText[i][id][0] = EOS;



Re: error 029: invalid expression, assumed zero - Kane - 28.07.2017

How many arrays does LinesText have?


Re: error 029: invalid expression, assumed zero - anltrn - 28.07.2017

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
How many arrays does LinesText have?
Has 8 arrays


Re: error 029: invalid expression, assumed zero - Kane - 28.07.2017

That can't be right. Post your code from where LinesText is defined. (e.g: new LinesText[MAX_PLAYERS][10][10])


Re: error 029: invalid expression, assumed zero - anltrn - 28.07.2017

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
That can't be right. Post your code from where LinesText is defined. (e.g: new LinesText[MAX_PLAYERS][10][10])
new LinesText[8][128];


Re: error 029: invalid expression, assumed zero - Xeon™ - 28.07.2017

PHP код:
LinesText[i][id] = EOS



Re: error 029: invalid expression, assumed zero - anltrn - 28.07.2017

Quote:
Originally Posted by XeonMaster
Посмотреть сообщение
PHP код:
LinesText[i][id] = EOS
It did not work


Re: error 029: invalid expression, assumed zero - Xeon™ - 28.07.2017

Quote:
Originally Posted by anltrn
Посмотреть сообщение
It did not work
errors? warnings?


Re: error 029: invalid expression, assumed zero - anltrn - 28.07.2017

I found the problem, I got it, thank you