stevensalvaro Posted January 27, 2016 Posted January 27, 2016 Hello , i have some odometer function save on database , but how i can show on gui from database ? request the odometer from database that i has been saved ?
tosfera Posted January 27, 2016 Posted January 27, 2016 When the vehicle spawns, use setElementData to set the data on the vehicle. From there request the data with getElementData every time you need it. Once the vehicle gets destroyed, make sure to save the new value in the database again.
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