14.07.2012, 19:02 
	(
 Последний раз редактировалось kbalor; 14.07.2012 в 20:04.
)
	
	Код:
CMD:t(playerid, params[])
{
    if(gCommandsDisabled[playerid]==true)
	{
THIS LINE->ShowPlayerDialog(playerid, DIALOG_CANT, DIALOG_STYLE_MSGBOX, "Error", "You are in DM. You can't use teleport", "Leave", "Stay"); <----------------- This line
	return 1;
	}
    ShowPlayerDialog(playerid, DIALOG_TELES, DIALOG_STYLE_LIST, "Teleport Menu", "Los Santos (/ls)\nSan Fiero (/sf)\nLas Venturas (/lv)\nTuning \nAirports \nStunts \nDeathMatches", "Choose", "Cancel");
	return 1;
}
If player press "Stay" - Dialog will close(No changes)
How to make this a dialogresponse
Код:
ShowPlayerDialog(playerid, DIALOG_CANT, DIALOG_STYLE_MSGBOX, "Error", "You are in DM. You can't use teleport", "Leave", "Stay");

