SA-MP Forums Archive
How to add dialouge to login screen. - 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: How to add dialouge to login screen. (/showthread.php?tid=466748)



How to add dialouge to login screen. - muio223 - 29.09.2013

So what I am trying to do is add dialouge to my login box that says weather or not a person is a donator is there a way to do this?
Код:
public DisplayDialogForPlayer(playerid, dialogid)
{
    switch(dialogid)
    {
        case 1:
        {
            ShowPlayerDialog(playerid,1,DIALOG_STYLE_PASSWORD,"{6EF83C}Login Panel","{FFFFFF}Welcome to {B700FF}GoldenCoast Gaming RP.{FFFFFF}\n\nThat name is {C9FFAB}registered.  {FFFFFF}\n\nPlease enter your {FFAF00}Password{FFFFFF} below inorder to proceed","Login","Cancel");
        }
        case 2:
        {
            ShowPlayerDialog(playerid,2,DIALOG_STYLE_PASSWORD,"{6EF83C}Registering Panel","{FFFFFF}Welcome to {B700FF}GoldenCoast Gaming RP.{FFFFFF}\n\nThas name is not{C9FFAB} registered {FFFFFF}\n\nPlease enter your {FFAF00}Password{FFFFFF} below inorder to proceed.","Register","Cancel");
        }