14.09.2009, 08:25
Haven't had a chance to test the GUI stuff yet (0.3 crashes =( ) but I think it's done like this:
Not too sure though.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(Dialogid == 0)
{
if(response == 1)
SendClientMessage(playerid,COLOR_WHITE,"Thank you for agreeing.");
}
if(response == 0)
Kick(playerid);
}
}
return 0;
}