house sistem
#7

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Yes it does, but xLucy was wrong in saying that OP's defines are equal enum starting with 0. What do you think will happen when you have something like this:
pawn Код:
enum
{
    HOUSE_MENU,
    HOUSE_LEVEL,
    HOUSE_INTERIOR
}

enum
{
    OTHER_MENU,
    OTHER_LEVEL,
    OTHER_INTERIOR
}

ShowPlayerDialog(playerid, OTHER_MENU, (...));

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if (dialogid == HOUSE_MENU) {
        SendClientMessage(playerid, -1, "OOPS!");
    }
}
Aah now I get you, house menu and other menu would conflict
Reply


Messages In This Thread
house sistem - by xAlecsu - 17.08.2017, 20:36
Re: house sistem - by JasonRiggs - 17.08.2017, 23:13
Re: house sistem - by xLucy - 18.08.2017, 09:34
Re: house sistem - by Misiur - 18.08.2017, 09:38
Re: house sistem - by Immortal99 - 18.08.2017, 11:41
Re: house sistem - by Misiur - 18.08.2017, 11:46
Re: house sistem - by Immortal99 - 18.08.2017, 11:54
Re: house sistem - by xAlecsu - 19.08.2017, 17:44
Re: house sistem - by TheCman - 19.08.2017, 18:56
Re: house sistem - by xAlecsu - 19.08.2017, 19:56

Forum Jump:


Users browsing this thread: 1 Guest(s)