CoringaBVL Posted December 23, 2021 Share Posted December 23, 2021 Gostaria de saber como faço para salvar a posição dos veículos que estão no jogo, e quando desligar e ligar o server os veículos estarão no mesmo lugar. Link to comment
Other Languages Moderators Lord Henry Posted December 24, 2021 Other Languages Moderators Share Posted December 24, 2021 Salve em um banco de dados. Você pode começar por aqui: ExecuteSQLQuery Link to comment
ber Posted January 17, 2022 Share Posted January 17, 2022 addEventHandler("onResourceStop") for getElementsByType("vehicle") getElementPosition executeSQLQuery(INSERT/UPDATE) addEventHandler("onResourceStart") executeSQLQuery(SELECT) createVehicle Essas são as principais funções e eventos necessários para fazer o que deseja. 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