Helpme! erro
#1

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

Well, can you post a little bit more Code
Reply
#3

Quote:

error 001: expected token: ";"

Means you're missing a semicolon ";" above this line:
pawn Код:
else if(listitem == 17 && GetPlayerPCash(playerid) >= 50)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)