[Pomoc]Problem sa Dijalogom

Započeo Schwarz, Septembar 11, 2013, 21:48:48 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moja iz 0
Detaljan opis problema:Neznam cemu je problem u ovom dijalogu daje mi 26 erora
Dio skripte: if(dialogid==DIALOG_ROPREMA && response==1)
{
switch(listitem)
    {
        case 0://Kumunalec
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,2092.5381,-2078.8914,13.5469))
        {
        if(PlayerInfo[playerid][pPosao] != 1)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Kumunalec!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 16);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 1://Farmer
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,-382.5527,-1436.9727,25.7266))
        {
        if(PlayerInfo[playerid][pPosao] != 2)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Farmer!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 34);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 2://Distributer
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,992.1194,-1296.4408,13.5469))
        {
        if(PlayerInfo[playerid][pPosao] != 4)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Distributer!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 261);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 3://Pilot
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,1848.7153,-2443.2424,13.5766))
        {
        if(PlayerInfo[playerid][pPosao] != 5)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Pilot!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 61);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 4://Pizza Dostavuvac
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,2096.2639,-1811.1580,13.5524))
        {
        if(PlayerInfo[playerid][pPosao] != 6)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Pizza Raznosuvac!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 155);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 5://Vozac na Nafta
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,639.9497,1685.2129,7.1875))
        {
        if(PlayerInfo[playerid][pPosao] != 7)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Vozac na Nafta!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 182);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 6://Drvo Secac
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,-74.2515,-1135.1476,1.0781))
        {
        if(PlayerInfo[playerid][pPosao] != 9)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Drvo Secac!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 161);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 7://Postar
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,774.0881,-1037.7528,24.2039))
        {
        if(PlayerInfo[playerid][pPosao] != 8)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Postar!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 255);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 8://Rudar
        {
        if(IsPlayerInRangeOfPoint(playerid,1.00,320.5635,874.5823,20.3990))
        {
        if(PlayerInfo[playerid][pPosao] != 10)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten kako Rudar!!");
        {
        PlayerInfo[playerid][pOprema] = 1;
        oprema1 = GetPlayerSkin(playerid);
        SetPlayerSkin(playerid, 27);
        SendClientMessage(playerid,COLOR_RED,"Zemavte oprema sega mozete da zapocnete so rabota!");
        }
        }
        }
        case 9://Oprema Ostavi
        {
        if(PlayerInfo[playerid][pPosao] < 1)) return SCM(playerid,COLOR_GREEN,"[LG-INFO]Neste vraboten!!");
        {
        PlayerInfo[playerid][pOprema] = 0;
        SetPlayerSkin(playerid, oprema1);
        SendClientMessage(playerid,COLOR_RED,"Ja ostavivte opremata!");
        }
        }
   }
}

Neke slike/video za lakse dobivanje pomoci(neobavezno)://

Vjerovatno ti negdje zagrada fali ili imas viska

Hah nije to bilo sad sam otkrio da imam problem sa proverke  :D