gangzone error +rep - 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: gangzone error +rep (
/showthread.php?tid=326471)
gangzone error +rep -
Faisal_khan - 17.03.2012
Hi SA-MP Community,
I have this error:
pawn Код:
error 022: must be lvalue (non-constant)
On this line:
pawn Код:
USA = GangZoneCreate(-81.74512, 1646.58, 443.7593, 2113.696);//USA
Even though i added this above OnGameModeInit:
Re: gangzone error +rep -
Faisal_khan - 18.03.2012
BUMP
Re: gangzone error +rep -
Reklez - 18.03.2012
i think the error is not from the code GangZoneCreate.
i think the error is from somewhere inside yourscript.
Re: gangzone error +rep -
Faisal_khan - 18.03.2012
Quote:
Originally Posted by Reklez
i think the error is not from the code GangZoneCreate.
i think the error is from somewhere inside yourscript.
|
Before adding it i have no errors
Re: gangzone error +rep -
Reklez - 18.03.2012
Quote:
Originally Posted by Faisal_khan
Before adding it i have no errors
|
i test it. i put new USA; after the #includes <blahblahblah/a_samp>
theres no error during the test.
Re: gangzone error +rep -
Faisal_khan - 18.03.2012
Solved it!
I added:
pawn Код:
new usa;//This one worked
Instead of:
pawn Код:
new USA;//This gave me errors