[HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
WThieves - 13.06.2010
Hi there, im in a bit of trouble here, i want to make a login/register box on my server but i don't knoiw how.
i already have a login system but how do i change it so you get a pop up box if you type /login
i know i need this:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Lo gin","Enter your password below:","Login","Cancel");
but i cant seem to find it anywhere on this site, maybe someone can redirect me to a tut of some kind?
Thank you in fortunate.
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... - TheInnocentOne - 13.06.2010
I'd start out by making login and register commands to get some experience first.
https://sampwiki.blast.hk/wiki/Creating_...n_FilterScript
That should give you the basic idea.
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
Nero_3D - 13.06.2010
check out the examples on
wiki.sa-mp.com/wiki/ShowPlayerDialog and
wiki.sa-mp.com/wiki/OnDialogResponse
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
WThieves - 13.06.2010
Quote:
Originally Posted by TheInnocentOne
|
I've already got that but i want to put it in a box now.
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
Dark_Kostas - 13.06.2010
Read
THIS tutorial and change the style from list to DIALOG_STYLE_INPUT.
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
Niixie - 13.06.2010
Well, if can look after another script. Without copy'n'paste, then heres a like to a FS with login and register in dialog
http://forum.sa-mp.com/index.php?topic=176582.0
If you copy'n'paste, you dont know how exactly it works. + you wont learn anything. so look how its done and try to do yourself
Else i can try to help you on TeamViewer
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
WThieves - 13.06.2010
Quote:
Originally Posted by [MWR
Niixie ]
Well, if can look after another script. Without copy'n'paste, then heres a like to a FS with login and register in dialog
http://forum.sa-mp.com/index.php?topic=176582.0
If you copy'n'paste, you dont know how exactly it works. + you wont learn anything. so look how its done and try to do yourself
Else i can try to help you on TeamViewer
|
Thanks for that, i wont copy n paste because i need to fit it in between the script i have now.
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
Niixie - 13.06.2010
Alright.
Did you get it working?
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
WThieves - 13.06.2010
Quote:
Originally Posted by [MWR
Niixie ]
Alright.
Did you get it working?
|
nope :P
Re: [HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ... -
Niixie - 13.06.2010
Hehe
Alright, well. Look very good in that script and see how its done. I belive in you, you can do it!