error 001: expected token: ":", but found ")"
#1

PHP код:
    case D_NMENU+3:
        {
            if(!
response) return 1;
            if(
listitem 3)
            {
                new 
string[28];
                
format(stringsizeof(string), "Вы слушаете радио: %s",
                (
listitem == 0) ? ("LS News") : (listitem == 1) ? ("SF News") : (listitem == 2) ? ("LV News"));
                
SendClientMessage(playeridCOLOR_WHITEstring);
                
PI[playerid][pNews] = listitem+1;
            }
            else
            {
                
SendClientMessage(playeridCOLOR_LIGHTRED"Вы выключили радио");
                
PI[playerid][pNews] = 0;
            }
        } 
PHP код:
gamemodes\new.pwn(12537 -- 12538) : error 001expected token":"but found ")" 
Reply


Messages In This Thread
error 001: expected token: ":", but found ")" - by sanight - 28.06.2018, 12:25
Re: error 001: expected token: ":", but found ")" - by Calisthenics - 28.06.2018, 12:32
Re: error 001: expected token: ":", but found ")" - by TheBeastKhan - 28.06.2018, 12:54
Re: error 001: expected token: ":", but found ")" - by Calisthenics - 28.06.2018, 13:05
Re: error 001: expected token: ":", but found ")" - by Dayrion - 28.06.2018, 13:17

Forum Jump:


Users browsing this thread: 4 Guest(s)