Register System Help
#9

Just do it as in the example.

Dialog Styles: https://sampwiki.blast.hk/wiki/Dialog_Styles

When you make:

pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Log in","Enter your password to login:","Login","Cancel");
Then you have to make the script, that does when you press one of the buttons (Login or Cancel).

Lets say:

pawn Код:
if(dialogid==1)
{
   if(response) // The first button (Login)
   {
      // Your script here
   }
   if(!response) // The second button (Cancel)
   {
      // Your script here
   }
Reply


Messages In This Thread
Register System Help - by IvancheBG - 20.01.2012, 09:31
Re: Register System Help - by Min - 20.01.2012, 09:36
Re: Register System Help - by IvancheBG - 20.01.2012, 09:54
Re: Register System Help - by Min - 20.01.2012, 10:00
Re: Register System Help - by IvancheBG - 20.01.2012, 10:00
Re: Register System Help - by N0FeaR - 20.01.2012, 10:04
Re: Register System Help - by IvancheBG - 20.01.2012, 10:21
Re: Register System Help - by Sinner - 20.01.2012, 10:28
Re: Register System Help - by Unte99 - 20.01.2012, 10:29
Re: Register System Help - by MasterJoker - 20.01.2012, 10:30

Forum Jump:


Users browsing this thread: 1 Guest(s)