Chickelon12 Posted March 25, 2014 Posted March 25, 2014 (edited) SOLVED Edited March 25, 2014 by Guest
WhoAmI Posted March 25, 2014 Posted March 25, 2014 Firstly, add this resource to acl as admin. Secondly, you are not triggering username and password when player clicks the login and register button.
Chickelon12 Posted March 25, 2014 Author Posted March 25, 2014 Okay, added the resource to the acl Secondly : should i change triggerServerEvent ( "accLogin", localPlayer ) to triggerServerEvent ( "accLogin", localPlayer, username, password ) ??
WhoAmI Posted March 25, 2014 Posted March 25, 2014 Exactly. And delete 'thePlayer' from server side function's argument and in functions which are inside use 'source' instead.
Chickelon12 Posted March 25, 2014 Author Posted March 25, 2014 Exactly. And delete 'thePlayer' from server side function's argument and in functions which are inside use 'source' instead. Thanks mate, it's working now
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