06.12.2016, 11:51
I have two equal dialog with different id:
first dialog will appear if i type /switch (to change class) but the second one will appear onplayerrequestclass instead of class selection.
Код:
#define DIALOG_SWITCH_TEAM 1035 #define DIALOG_SWITCH_TEAM_WELCOME 4025
Код:
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; }