C:\Users\-\Desktop\???\gamemodes\Mod.pwn(321) : error 029: invalid expression, assumed zero
C:\Users\-\Desktop\???\gamemodes\Mod.pwn(321) : error 004: function "OnDialogResponse" is not implemented
C:\Users\-\Desktop\???\gamemodes\Mod.pwn(322) : error 001: expected token: ";", but found "if"
C:\Users\-\Desktop\???\gamemodes\Mod.pwn(322) : error 017: undefined symbol "dialogid"
C:\Users\-\Desktop\???\gamemodes\Mod.pwn(324) : error 017: undefined symbol "response"
C:\Users\-\Desktop\???\gamemodes\Mod.pwn(326) : error 017: undefined symbol "listitem"
C:\Users\-\Desktop\???\gamemodes\Mod.pwn(330) : error 017: undefined symbol "If"
C:\Users\-\Desktop\???\gamemodes\Mod.pwn(336) : error 030: compound statement not closed at the end of file (started at line 316)
помогите плиииз
вот строчки
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mm", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 8007, DIALOG_STYLE_LIST, "??????", "????? 1\n????? 2", "??????1", "??????2");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
if(dialogid == 8007) //
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, COLOR_1, "?? ??????? ?????1!");
}
If(listitem == 1)
{
SendClientMessage(playerid, COLOR_1, "?? ??????? ?????2!");
}
}
}