GriLLeX Posted September 1, 2009 Share Posted September 1, 2009 Hello, I need a system of registration / login. I already tried logingui just do not work properly with my gamemode ... Link to comment
50p Posted September 1, 2009 Share Posted September 1, 2009 There are register/login commands. Link to comment
GriLLeX Posted September 1, 2009 Author Share Posted September 1, 2009 Yes, but to me I need to save data and reload to login and see what you can not ... Link to comment
Skull~Death Posted September 1, 2009 Share Posted September 1, 2009 There is a already a public resource that does this, but it's a bit bugged and it's written in spanish. It does have a login/register system and a basic class selection, but it need a few fixes and changes to work well. Search in MTA's Resources for "diversion" if you wish it. Btw, actually, I'm currently making a 2.0 version of it, with much more improvements and massive changes, so it won't last so much Link to comment
GriLLeX Posted September 1, 2009 Author Share Posted September 1, 2009 Thanks, I'll try to see if I can "appropriated" to my GM. Any question: how to save ahn ElementData to the user file? Link to comment
subenji99 Posted September 1, 2009 Share Posted September 1, 2009 use setAccountData. Link to comment
50p Posted September 1, 2009 Share Posted September 1, 2009 GriLLeX said: Thanks, I'll try to see if I can "appropriated" to my GM.Any question: how to save ahn ElementData to the user file? https://wiki.multitheftauto.com/index.ph ... _functions Link to comment
GriLLeX Posted September 2, 2009 Author Share Posted September 2, 2009 Thank you all, I ask you another thing: how can I call a function from an external script? Example I have 2 script, the script is one of GM and the other is a script a client, I now would like to call a function from Client Script in GM, how can I do? Thank you in advance and I apologize for my wrong english Link to comment
50p Posted September 2, 2009 Share Posted September 2, 2009 To call a function from different resource you need to export that function first (meta.xml). If a function is exported you can then call it like so: exports.resourcename:exportedFunction( ) If you want to call a client-side function from server-side script you can do that by adding new event client-side and trigger it from the server-side script. https://wiki.multitheftauto.com/index.php?title=AddEvent Link to comment
xbenny2506x Posted September 3, 2009 Share Posted September 3, 2009 I have this one. I have change many things, but for the start is that good. https://community.multitheftauto.com/index.php?p= ... ils&id=174 Link to comment
50p Posted September 3, 2009 Share Posted September 3, 2009 For start, everything is good. One of the ways to learn to script is by looking into already made scripts. Link to comment
cokacola Posted December 2, 2009 Share Posted December 2, 2009 just a question, now that this topic has been spam bumped, did this ever get resolved? 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