Script problem with invalid expression.
#1

this is my line 35 -36
pawn Код:
new BagMoney = MONEY_BAG_MONEY;
new BagMode = MONEY_BAG_MODE;
Код:
C:\Users\Mustafa\Desktop\SAmp SRV\ForYou\filterscripts\wapendop.pwn(35) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Thanks for reading.
I hope u can help me.
Reply
#2

Someone?
Reply
#3

How did you define MONEY_BAG_MONEY and MONEY_BAG_MODE
Reply
#4

Yes here
pawn Код:
#define MONEY_BAG_MONEY +1                       // -1 = Money bag ON with all player-money   0 = Money bag OFF   1+ = Money bag ON with given amount
#define MONEY_BAG_MODE 1              // 1 = Money comes from the killed player     0 = Money comes from the server
Reply
#5

Change to
pawn Код:
#define MONEY_BAG_MONEY 1
It is meant is positive number. The 1+ means for 1 and higher number
Reply
#6

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)