Jump to content

Register GUI


megaman54

Recommended Posts

Write the functions for this:

GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Label = {}
GUIEditor_Edit = {}
 
GUIEditor_Window[1] = guiCreateWindow(617,223,378,220,"Register",false)
guiWindowSetSizable(GUIEditor_Window[1],false)
GUIEditor_Button[1] = guiCreateButton(0.3651,0.8636,0.254,0.0909,"Register",true,GUIEditor_Window[1])
GUIEditor_Label[1] = guiCreateLabel(0.0317,0.1409,0.3042,0.1455,"Account name:",true,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[1],255,255,255)
guiLabelSetVerticalAlign(GUIEditor_Label[1],"top")
guiLabelSetHorizontalAlign(GUIEditor_Label[1],"left",false)
GUIEditor_Edit[1] = guiCreateEdit(0.2857,0.1273,0.4259,0.1136,"",true,GUIEditor_Window[1])
guiEditSetMaxLength(GUIEditor_Edit[1],50)
GUIEditor_Label[2] = guiCreateLabel(0.0265,0.2955,0.3122,0.1409,"Password:",true,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[2],255,255,255)
guiLabelSetVerticalAlign(GUIEditor_Label[2],"top")
guiLabelSetHorizontalAlign(GUIEditor_Label[2],"left",false)
GUIEditor_Edit[2] = guiCreateEdit(0.2937,0.3045,0.4206,0.1227,"",true,GUIEditor_Window[1])
guiEditSetMasked(GUIEditor_Edit[2],true)
GUIEditor_Label[3] = guiCreateLabel(0.0582,0.5182,0.4365,0.0727,"Only registered user can play!",true,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[3],255,255,255)
guiLabelSetVerticalAlign(GUIEditor_Label[3],"top")
guiLabelSetHorizontalAlign(GUIEditor_Label[3],"left",false)
GUIEditor_Label[4] = guiCreateLabel(0.0556,0.6091,0.8968,0.1727,"Click "Register" when you are ready.",true,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[4],255,255,255)
guiLabelSetVerticalAlign(GUIEditor_Label[4],"top")
guiLabelSetHorizontalAlign(GUIEditor_Label[4],"left",false)

So i need functions that saves the account whit those information (name and password) so he can next time log in with it!

EDIT: Nearly forgot: make me a saver that saves everything on player quit/disconnect: skin, positin, money. PLEASE

Link to comment

No.

This is not a free drive-thru where you can order (people to make) free scripts, that is not the way it works. You can NOT come in here, command an entire forum to make a script for you for free. If you want the script, you have three options:

1) See if it's done already

2) Pay someone to make it for you

3) Make it yourself. If you don't know how, learn. If you don't want to, keep trying #1 or #2, or give up.

https://community.multitheftauto.com - for premade, released scripts

http://development.mtasa.com - reference

http://robhol.net/guide/basics - the basics of scripting

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...