24.09.2014, 20:47
So I was wondering if I'm doing it correctly with this syntax, I am really not sure.
I have tried to do other methods just to check it and work around it, they worked in pawno but not sure if they'd work in-game.
So this is the method I've tried doing it yet I am unsure if this'll work correctly.
I have tried to do other methods just to check it and work around it, they worked in pawno but not sure if they'd work in-game.
So this is the method I've tried doing it yet I am unsure if this'll work correctly.
pawn Код:
new g_DialogName[100];
if(dialogid == DIALOG_SET_NAME)
{
if(response)
{
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_SET_NAME, DIALOG_STYLE_INPUT, "Enter A Name", "Please enter a desired name for your dialog.\nBy this unique name you can find it stored inside the scriptfiles folder.\nUnder the assigned name you'll give it.\n\n", "INSERT", "EXIT");
else
{
g_DialogName[99] = inputtext[99];
ShowPlayerDialog(playerid, DIALOG_SET_TEXT, DIALOG_STYLE_INPUT, "Please enter desired text", "Please enter desired text that the dialog will display.\n\n", "Create", "Exit");
}
}
return 1;
}