19.07.2014, 03:38
Define the dialog name with something like #define DIALOG_NAME 10040 in top of your script then apply the dialog under OnPlayerDeath.
pawn Код:
CMD:cchange(playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_NAME, DIALOG_STYLE_LIST, "Choose your class", "Assault\n Sniper\n Engineer\n JetTrooper\n Pilot\n", "Choose", "Cancel");
return 1;
}