Error
#6

You don't having anything in case the condition is true so it takes the next line as function for that statement. Basically, it's like doing:
pawn Код:
else if(strcmp(choice,"truck",true) == 0)
{
    else if(strcmp(choice,"cargo", true) == 0)
    {
    }
}
Add some code in it or else you don't need it, just remove it. Or in case you need it for later, comment the line or:
pawn Код:
else if(strcmp(choice,"truck",true) == 0) {}
else if(strcmp(choice,"cargo", true) == 0)
{
    // code..
}
Reply


Messages In This Thread
Error - by Kaaashi - 29.06.2014, 16:41
Re: Error - by PrivatioBoni - 29.06.2014, 16:42
Re: Error - by Konstantinos - 29.06.2014, 16:43
Re: Error - by PrivatioBoni - 29.06.2014, 16:44
Re: Error - by Kaaashi - 29.06.2014, 16:47
Re: Error - by Konstantinos - 29.06.2014, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)