Help with error : error 022: must be lvalue (non-constant) - 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: Help with error : error 022: must be lvalue (non-constant) (
/showthread.php?tid=521465)
Help with error : error 022: must be lvalue (non-constant) -
EdvardasK - 23.06.2014
Hi. I have an error, that I wasn't saw ...
Код HTML:
error 022: must be lvalue (non-constant)
Line :
How I create define?
Код HTML:
#define GangIDs 0
Sooo, sorry for my bad English
and plz help me!
Thanks.
Re: Help with error : error 022: must be lvalue (non-constant) -
RenovanZ - 23.06.2014
You shouldn't define it, but make it as a variable.
Re: Help with error : error 022: must be lvalue (non-constant) -
EdvardasK - 23.06.2014
Quote:
Originally Posted by RenovanZ
You shouldn't define it, but make it as a variable.
|
But, I have created enum . So you say, that I should make it as variable? ( GangIDs )
Re: Help with error : error 022: must be lvalue (non-constant) -
EdvardasK - 23.06.2014
ok lock the theme
I have repaired it