[HELP] ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,... ...
#1

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.
Reply
#2

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.
Reply
#3

check out the examples on wiki.sa-mp.com/wiki/ShowPlayerDialog and wiki.sa-mp.com/wiki/OnDialogResponse
Reply
#4

Quote:
Originally Posted by TheInnocentOne
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.
I've already got that but i want to put it in a box now.
Reply
#5

Read THIS tutorial and change the style from list to DIALOG_STYLE_INPUT.
Reply
#6

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
Reply
#7

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.
Reply
#8

Alright.
Did you get it working?
Reply
#9

Quote:
Originally Posted by [MWR
Niixie ]
Alright.
Did you get it working?
nope :P
Reply
#10

Hehe Alright, well. Look very good in that script and see how its done. I belive in you, you can do it!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)