Scripting Errors (easy but hard)
#1

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

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Sell drugs to an NPC and it gives you money, but i get errors when compiling

Код:
(41029)		       // cash check

(41030)			price = amount * weedprice;
(41031)			PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash]+price;
(41032)			GivePlayerMoney(playerid, +price);
(41033)			PlayerInfo[playerid][pDrugs] -= amount;
Idk where is the problem; i cant find it lol? anything wrong on the script sentence?
Reply


Messages In This Thread
Scripting Errors (easy but hard) - by D3vin - 25.05.2016, 16:25
Re: Scripting Errors (easy but hard) - by zDivine - 25.05.2016, 16:31
Re: Scripting Errors (easy but hard) - by D3vin - 25.05.2016, 16:36
Re: Scripting Errors (easy but hard) - by zDivine - 25.05.2016, 16:38

Forum Jump:


Users browsing this thread: 2 Guest(s)