03.07.2011, 07:59
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
If you want to disable the second button in the dialog, use it like this:
And:
If you want to disable the second button in the dialog, use it like this:
pawn Код:
ShowPlayerDialog( playerid, LANG_DIALOG, DIALOG_STYLE_LIST, "Pick your language", "English\nGerman", "Choose", "" ); // Shows the dialog to pick your language upon connecting...
pawn Код:
ShowPlayerDialog( playerid, LANG_DIALOG, DIALOG_STYLE_LIST, "Pick your language", "English\nGerman", "Choose", "" ); // So he can't exit the dialog without choosing the language.