29.06.2014, 16:51
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:
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)
{
}
}
pawn Код:
else if(strcmp(choice,"truck",true) == 0) {}
else if(strcmp(choice,"cargo", true) == 0)
{
// code..
}