Help with dialogresponse
#5

I have two equal dialog with different id:
Код:
#define DIALOG_SWITCH_TEAM 1035
#define DIALOG_SWITCH_TEAM_WELCOME 4025
first dialog will appear if i type /switch (to change class) but the second one will appear onplayerrequestclass instead of class selection.

Код:
public OnPlayerRequestClass( playerid, classid )
{
	TogglePlayerSpectating(playerid, true); // disabling '' SPAWN '' button
        showDialog( playerid, DIALOG_SWITCH_TEAM_WELCOME ); // showing switch menu instead of class selection
        return true;
}
Reply


Messages In This Thread
Help with dialogresponse - by wallen - 06.12.2016, 08:39
Re: Help with dialogresponse - by wallen - 06.12.2016, 09:15
Re: Help with dialogresponse - by wallen - 06.12.2016, 10:13
Re: Help with dialogresponse - by TheRohlikar - 06.12.2016, 11:16
Re: Help with dialogresponse - by wallen - 06.12.2016, 11:51
Re: Help with dialogresponse - by TheRohlikar - 06.12.2016, 11:54
Re: Help with dialogresponse - by wallen - 06.12.2016, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)