I'm working on the script login and registration on a server
But I have a problem in the file ( server )
Server Side ---
local account = addAccount (user, pass)
if account and logIn (source, account, pass) then
outputChatBox ("Done", source, 210, 0, 0)
triggerClientEvent (source, "hideRegWindow", source)
else
outputChatBox ("error", source, 210, 0, 0)
end
end
end
)
He actually logs
But, do not score in the new player in the server
debugscript 3
( Acced diend ' addAccount' )