Zcraks Posted May 23, 2019 Share Posted May 23, 2019 Hi, i have created login panel. This option displays a warning. @bad argument 'getPlayerAccount'. triggerClientEvent ( "register.success", getRootElement()) logIn(client, getAccount(name), password) local account = getPlayerAccount(source) if (account) then setElementData ( source, "Word", word ) end end end addEvent("registerPlayer", true) addEventHandler("registerPlayer", getRootElement(), registerPlayer) Link to comment
Jonas^ Posted May 23, 2019 Share Posted May 23, 2019 local account = getPlayerAccount (client) 1 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