zombienation Posted September 11, 2011 Share Posted September 11, 2011 hello, i have one irritating problem with loginscreens, how can i make it possible for players to register when they are on the loginscreen? with every different script i try, it always says its not possible to register when somebody try.. does anybody had this problem once? or knows how to help me out with this one? i've searched on mta wiki but didn't found anything thank you Link to comment
Jaysds1 Posted September 11, 2011 Share Posted September 11, 2011 You could use my scripts in the Community Website, and BTW(By The Way) what's this problem and can you show us the script. Link to comment
zombienation Posted September 11, 2011 Author Share Posted September 11, 2011 You could use my scripts in the Community Website, and BTW(By The Way) what's this problem and can you show us the script. ok give me a minute pls i'll give the weblinks. i havent done anyrhing in the script.. Link to comment
zombienation Posted September 11, 2011 Author Share Posted September 11, 2011 You could use my scripts in the Community Website, and BTW(By The Way) what's this problem and can you show us the script. i have tried these scrips https://community.multitheftauto.com/index.php?p= ... ils&id=803 https://community.multitheftauto.com/index.php?p= ... ils&id=617 https://community.multitheftauto.com/index.php?p= ... ls&id=1557 also sorry for the extra question, do you know how to start all resources in one command? Link to comment
Jaysds1 Posted September 11, 2011 Share Posted September 11, 2011 no, but you could make a script for it. And here's my Login script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2247 Link to comment
zombienation Posted September 11, 2011 Author Share Posted September 11, 2011 no, but you could make a script for it.And here's my Login script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2247 ok i'll search for it thank you... i'll try your loginscreen now, but with every i try i get this message * An unknown error has occured! Please choose a different username/password and try again. maybe there is something i need to change in one of the scripts somewhere? Link to comment
zombienation Posted September 11, 2011 Author Share Posted September 11, 2011 no, but you could make a script for it.And here's my Login script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2247 i get this when i try yours *INFO*:Unable to log in to new account, try again. but i can login with my account wich i created in my script to setup myself as admin.. could i have done something wrong there perhaps? i dont know man Link to comment
zombienation Posted September 11, 2011 Author Share Posted September 11, 2011 dead and now Link to comment
qaisjp Posted September 11, 2011 Share Posted September 11, 2011 Set the resource acl to admin. Link to comment
zombienation Posted September 11, 2011 Author Share Posted September 11, 2011 Set the resource acl to admin. u mean this? can u pls tell me step by step what i have to do? i'm searching for more then an hour now for this one small issue Link to comment
Jaysds1 Posted September 11, 2011 Share Posted September 11, 2011 Set the resource acl to admin. u mean this? can u pls tell me step by step what i have to do? i'm searching for more then an hour now for this one small issue ya, put this in there <object name="resource.jl"></object> and did you put addAccount [uSERNAME] [PASSWORD] in the console? Link to comment
zombienation Posted September 11, 2011 Author Share Posted September 11, 2011 Set the resource acl to admin. u mean this? can u pls tell me step by step what i have to do? i'm searching for more then an hour now for this one small issue ya, put this in there <object name="resource.jl"></object> and did you put addAccount [uSERNAME] [PASSWORD] in the console? yes i did, the problem was only this everything is smoothly now thanks for all the help here Link to comment
zombienation Posted September 12, 2011 Author Share Posted September 12, 2011 no, but you could make a script for it.And here's my Login script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2247 can u show me a tutorial somewhere of combining scripts please? i'm sorry for asking, but i cant find it ( my english isnt perfect and everything is in english and i dont know my way to a tutorial for combining scripts) thank you Link to comment
bandi94 Posted September 12, 2011 Share Posted September 12, 2011 client local ussername =guiCreateEdit ( float x, float y, float width, float height, string text, bool relative, [element parent = nil] ) local pass = guiCreateEdit ( float x, float y, float width, float height, string text, bool relative, [element parent = nil] ) local button = guiCreateButton ( float x, float y, float width, float height, string text, bool relative, [ element parent = nil ] ) function login() local name = guiGetText(ussername) local password = guiGetText(pass) triggerServerEvent("login",getLocalPlayer(),name,password) end addEventHandler ( "onClientGUIClick", button, login ) server addEvent("login",true) function loginplayer(account,password) logIn (source, account, password) end addEventHandler("login",getRootElement(),loginplayer) Link to comment
JR10 Posted September 12, 2011 Share Posted September 12, 2011 Your client, it's not the used code right? Because if so, you are not creating the GUI right. And what happens exactly, use /debugscript 3. Link to comment
Jaysds1 Posted September 12, 2011 Share Posted September 12, 2011 (edited) can u show me a tutorial somewhere of combining scripts please? i'm sorry for asking, but i cant find it ( my english isnt perfect and everything is in english and i dont know my way to a tutorial for combining scripts)thank you I think he means about putting scripts in resources, Here's the first thing: <meta> <info author="YOU" Description="YOUR DESCRIPTION" Version="VERSION IN #'S" type="TYPE OF RESOURCE" /> <script src="Client.lua" type="Client" /> <script src="Server.lua" type="Server" /> </meta> EDIT: I was talking to the Zombie guy, srry about not adding the quote Edited September 12, 2011 by Guest Link to comment
JR10 Posted September 12, 2011 Share Posted September 12, 2011 Look at the poster, 300 posts, do you think he still can't make a resource himself? -____- If it's the code he's using, then creating the GUI is wrong. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now