Fire3n Posted December 7, 2019 Share Posted December 7, 2019 Preciso de um script para quando a pessoa entra no server pela primeira vez ela spawnar em um local determinado. Urgente Link to comment
DNL291 Posted December 7, 2019 Share Posted December 7, 2019 "onPlayerLogin" getAccountData -- verifica se existe a data na conta referente ao primeira vez no server setAccountData -- remove essa data da conta spawnPlayer -- spawna o player no local determinado Se não tiver um painel de login, você pode setar a account-data do registro no comando /register no painel admin, se tiver só adicionar o setAccountData junto com o addAccount no sistema de login. Link to comment
Fire3n Posted December 7, 2019 Author Share Posted December 7, 2019 (edited) Desculpas Mais Eu nao Entendi. Nao sei mexer mt bem com scripts Edited December 7, 2019 by Fire3n Link to comment
DNL291 Posted December 8, 2019 Share Posted December 8, 2019 Comece aprendendo Lua / scripting no MTA: https://forum.multitheftauto.com/topic/116681-informações-úteis-scriptingconfiguraçõestutoriais-para-o-mta/ 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