26.05.2010, 18:38
What are the limits, if any, for dialogs?
Originally Posted by cAMo
What are the limits, if any, for dialogs?
|
Originally Posted by IanDaCJ
Quote:
|
Originally Posted by Joe Staff
If you make a dialog with an ID greater than 31k it won't work.
|
Originally Posted by Joe Torran C
Quote:
|
//Define what dialogid to use
#define USE_DIALOG_ID 0
//Calling the Dialog
ShowPlayerDialog(playerid,USE_DIALOG_ID,......);
SetPVarInt(playerid,"DIALOGID",0);
//OnDialogResponse
if(dialogid!=USE_DIALOG_ID)return 1;
switch(GetPVarInt(playerid,"DIALOGID"))
{
case 0:
{
//Function
}
case 1:
{
//A different dialog
}
}