Chickelon12 Posted March 25, 2014 Share Posted March 25, 2014 (edited) SOLVED Edited March 25, 2014 by Guest Link to comment
WhoAmI Posted March 25, 2014 Share 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. Link to comment
Chickelon12 Posted March 25, 2014 Author Share Posted March 25, 2014 Okay, added the resource to the acl Secondly : should i change triggerServerEvent ( "accLogin", localPlayer ) to triggerServerEvent ( "accLogin", localPlayer, username, password ) ?? Link to comment
WhoAmI Posted March 25, 2014 Share Posted March 25, 2014 Exactly. And delete 'thePlayer' from server side function's argument and in functions which are inside use 'source' instead. Link to comment
Chickelon12 Posted March 25, 2014 Author Share Posted March 25, 2014 WhoAmI said: 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 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