gangzone error +rep
#1

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:
pawn Код:
new USA;
Reply
#2

BUMP
Reply
#3

i think the error is not from the code GangZoneCreate.
i think the error is from somewhere inside yourscript.
Reply
#4

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
Reply
#5

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.
Reply
#6

Solved it!
I added:
pawn Код:
new usa;//This one worked
Instead of:
pawn Код:
new USA;//This gave me errors
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)