22.09.2012, 16:13
I need help. I don't Understand this Error. Please, help me!
Ё
Ё
Код:
C:\Users\Silvio\Desktop\Train.pwn(275) : error 030: compound statement not closed at the end of file (started at line 233) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
if(response)
{
if(listitem == 0)
{
GivePlayerMoney(playerid, -75);
PlayerInfo[playerid][pLS] = 1;
SCM(playerid, COLOR_ORANGE, "Kupio si kartu za Los Santos! Ugodan put");
SetPlayerPos(playerid, 1734.4635009766,-1957.1684570313,0.98593759536743);
SetTimerEx("timer", 60000, false, "i", playerid);
}
if(listitem == 1)
{
GivePlayerMoney(playerid, -40);
PlayerInfo[playerid][pLV] = 1;
SCM(playerid, COLOR_ORANGE, "Kupio si kartu za Las Venturas! Ugodan put");
SetPlayerPos(playerid, 1734.4635009766,-1957.1684570313,0.98593759536743);
SetTimerEx("timer", 60000, false, "i", playerid);
}
if(dialogid == DIALOG_LV)
{
if(response)
{
if(listitem == 0)
{
GivePlayerMoney(playerid, -42);
PlayerInfo[playerid][pSF] = 1;
SCM(playerid, COLOR_ORANGE, "Kupio si kartu za San Fierro! Ugodan put");
SetPlayerPos(playerid, 1734.4635009766,-1957.1684570313,0.98593759536743);
SetTimerEx("timer", 60000, false, "i", playerid);
}
if(listitem == 1)
{
GivePlayerMoney(playerid, -105);
PlayerInfo[playerid][pLS] = 1;
SCM(playerid, COLOR_ORANGE, "Kupio si kartu za Los Santos! Ugodan put");
SetPlayerPos(playerid, 1734.4635009766,-1957.1684570313,0.98593759536743);
SetTimerEx("timer", 120000, false, "i", playerid);
}
}
}
return 1;
}


