Helpme! erro - 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: Helpme! erro (
/showthread.php?tid=567143)
Helpme! erro -
nooion345 - 11.03.2015
D:\testserver\gamemodes\LSRP-TH.pwn(57457) : error 029: invalid expression, assumed zero
D:\testserver\gamemodes\LSRP-TH.pwn(57457) : warning 215: expression has no effect
D:\testserver\gamemodes\LSRP-TH.pwn(57457) : error 001: expected token: ";", but found "if"
D:\testserver\gamemodes\LSRP-TH.pwn(5746
: error 029: invalid expression, assumed zero
D:\testserver\gamemodes\LSRP-TH.pwn(5746
: warning 215: expression has no effect
D:\testserver\gamemodes\LSRP-TH.pwn(5746
: error 001: expected token: ";", but found "if"
57457 else if(listitem == 17 && GetPlayerPCash(playerid) >= 50)
{
GivePlayerPCash(playerid, - 50);
format(string, sizeof(string), "* %s ควักเงินออกมาซื้อถ่าน", sendername);
PlayerInfo[playerid][pTan] = 1;
}
else
{
SendClientMessage(playerid,COLOR_GRAD2,"You don't have enough money.");
return 1;
} 57468
AW: Helpme! erro -
Kaliber - 11.03.2015
Well, can you post a little bit more Code
Re: Helpme! erro -
CalvinC - 11.03.2015
Quote:
error 001: expected token: ";"
|
Means you're missing a semicolon ";" above this line:
pawn Код:
else if(listitem == 17 && GetPlayerPCash(playerid) >= 50)