SA-MP Forums Archive
Another help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Another help (/showthread.php?tid=653179)



Another help - DarkMythHunter - 28.04.2018

Hey!


Is this what they called textbox? Or what?

http://prntscr.com/jb460p


And how can I make one? Sorry im new for scripting lol.


Re: Another help - Logic_ - 28.04.2018

Quit making threads for such help; Get a Discord, hop into the SA-MP discord and we'll answer your stupid questions there. They are called dialogs by the way and you could have found them with a simple search on SA-MP wiki @ http://wiki.sa-mp.com


Re: Another help - DarkMythHunter - 28.04.2018

Quote:
Originally Posted by Logic_
Посмотреть сообщение
Quit making threads for such help; Get a Discord, hop into the SA-MP discord and we'll answer your stupid questions there. They are called dialogs by the way and you could have found them with a simple search on SA-MP wiki @ http://wiki.sa-mp.com
What is the samp discord? Invite link pls? and what do you guys call this thing:



http://prntscr.com/jb8aoe


Re: Another help - std - 28.04.2018

Quote:
Originally Posted by DarkMythHunter
Посмотреть сообщение
What is the samp discord? Invite link pls? and what do you guys call this thing:



http://prntscr.com/jb8aoe
that's also a dialog. a dialog can have different styles


Re: Another help - ItsRobinson - 28.04.2018

OnDialogResponse

ShowPlayerDialog

Dialog Styles

Example:

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) 
{
        if(dialogid == 0 && response)
        {
                 SendClientMessage(playerid, 1, "You have just seen a message dialog");
                 return 1;
        }
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	new cmd[256+1];
	new idx;
	cmd = strtok(cmdtext, idx);

	if(strcmp(cmd, "/showmessage", true) == 0)
	{
  	    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "This is a message", "This is a message box dialog", "Ok", "");
	    return 1;
	}
        return 1;
}
SA:MP Discord: Click Me!


Re: Another help - Sew_Sumi - 28.04.2018

People should be clear that that Discord, isn't official.