joao2235 Posted September 11, 2019 Share Posted September 11, 2019 Alguém tem ideia de qual evento usar para quando um player entrar pela primeira vez no server, como por exemplo: Assim que ele se cadastrar abre um painel para ele. Link to comment
Furzy Posted September 11, 2019 Share Posted September 11, 2019 (edited) addEventHandler("onPlayerLogin", root, function(_, account) if not getAccountData(account, "FirstTime") then outputChatBox("Voce está jogando pela primeira vez", source, 255, 255, 0) setAccountData(account, "FirstTime", true) else outputChatBox("Não é a sua primeira vez", source, 255, 255, 0) end end) use então = SERVER-SIDE local account = getPlayerAccount(source) if getAccountData(account, "FirstTime") then Edited September 11, 2019 by Furzy 1 Link to comment
joao2235 Posted September 12, 2019 Author Share Posted September 12, 2019 Valeeeuuu, vou testar aqui! 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