saaashaaaa
Умник
Всем привет!
Помогите исправить ошибки
Ошибки:
Помогите исправить ошибки
PHP:
case D_RULES_1: //тут ошибки
{
if(!response) ShowDialogRules_2(playerid);
else ShowDialogRules_2(playerid);
return 1;
}
case D_RULES_2: //и тут
{
if(!response) ShowDialogRules_3(playerid);
else ShowDialogRules_3(playerid);
return 1;
}
case D_RULES_3:
{
if(!response) ShowDialogRules_4(playerid);
else ShowDialogRules_4(playerid);
return 1;
}
case D_RULES_4:
{
if(!response) ShowDialogRules_5(playerid);
else ShowDialogRules_5(playerid);
return 1;
}
//
case D_RULES_GAME_1:
{
if(!response) ShowDialogRules_GAME_2(playerid);
else ShowDialogRules_GAME_2(playerid);
return 1;
}
case D_RULES_GAME_2:
{
if(!response) ShowDialogRules_GAME_3(playerid);
else ShowDialogRules_GAME_3(playerid);
return 1;
}
case D_RULES_GAME_3:
{
if(!response) ShowDialogRules_GAME_4(playerid);
else ShowDialogRules_GAME_4(playerid);
return 1;
}
case D_RULES_GAME_4:
{
if(!response) ShowDialogRules_GAME_5(playerid);
else ShowDialogRules_GAME_5(playerid);
return 1;
}
Код:
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found ":"
warning 225: unreachable code
error 014: invalid statement; not in switch
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found ":"
fatal error 107: too many error messages on one line
