2020-12-26, 04:54 PM
So, basically, you just need to create another dialog ID with DIALOG STYLE INPUT, One for the title, one for the reasons.
Store the Title input text to a variable, then, trigger a new dialog id and similar stuff like other dialogs you have attached here.
For example
So, basically, you just need to create another dialog ID with DIALOG STYLE INPUT, One for the title, one for the reasons.
Store the Title input text to a variable, then, trigger a new dialog id and similar stuff like other dialogs you have attached here.
For example
Store the Title input text to a variable, then, trigger a new dialog id and similar stuff like other dialogs you have attached here.
For example
So, basically, you just need to create another dialog ID with DIALOG STYLE INPUT, One for the title, one for the reasons.
Store the Title input text to a variable, then, trigger a new dialog id and similar stuff like other dialogs you have attached here.
For example
PHP Code:
if(dialogid == (Place a unused ID)
{
if(!response)return 1;
if(strlen(inputtext)>=21||strlen(inputtext)<=2)return ShowPlayerDialog(playerid,5010,DIALOG_STYLE_INPUT,"{FF0000}* Enter a title between 3 to 20 characters.\n{A9C4E4}Request an Event","Enter the title of event below","Done","Close");
? ? strcpy(ReqTitle[playerid],inputtext,30);
ShowPlayerDialog(playerid,(Place a unused ID, must be same.),DIALOG_STYLE_INPUT,"Rules of the event","Rules:","Done","Close");
}
Lead developer of San Andreas Roleplay (RIP SARP)
2015-2021 SA-MP Era Developer.