13.11.2010, 17:19
pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Vбnočnн stromy",stringx,"Vybrat","Konec");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if (dialogid == 1 && response) {
switch (listitem) {
case 0: //This is your "Vбnočnн stromy"
{
SendClientMessage(playerid, COLOR_COLOR,":)");
}
}
}
return 1;
}