11.03.2015, 14:08
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
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