Limits for Dialogs?
#1

What are the limits, if any, for dialogs?
Reply
#2

Check the Wiki. i think its like 1.3k?
Reply
#3

I dont think there is any for Dialogs, I cant see any on the wiki
Reply
#4

Quote:
Originally Posted by cAMo
What are the limits, if any, for dialogs?
there isnt any LIMIT for dialogs but u have to use strings and shit XD
Reply
#5

Quote:
Originally Posted by IanDaCJ
Quote:
Originally Posted by cAMo
What are the limits, if any, for dialogs?
there isnt any LIMIT for dialogs but u have to use strings and shit XD
You dont HAVE to use them
Reply
#6

If you make a dialog with an ID greater than 31k it won't work.
Reply
#7

Quote:
Originally Posted by Joe Staff
If you make a dialog with an ID greater than 31k it won't work.
Whos going to have 31k dialogs? :P
Reply
#8

Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by Joe Staff
If you make a dialog with an ID greater than 31k it won't work.
Whos going to have 31k dialogs? :P
Me :P
Reply
#9

If you go looking through any of my filterscripts or includes that use dialogs, you'll see that there's a way around it.

pawn Код:
//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
  }
}
So you see it only uses 1 dialogid, but it uses a PVar (can use a player array like new DialogID[MAX_PLAYERS]) to tell the difference.
Reply
#10

Also remember that dialog ID's have to be MAX_PLAYERS appart =].
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)