callum123 Posted December 31, 2012 Share Posted December 31, 2012 So, if I want to select a vehicle from an SQL database and then pull it into the code, how can I then turn that into an element so then I can use getVehiclePlate etc... So far I have it where Io pull the certain vehicles from the SQL and then populate a gridlist clientside. Trouble is I need to get like the vehicles name and lots of other details of the vehicles. I think this sort of makes sense, thanks for your help. Link to comment
uhm Posted December 31, 2012 Share Posted December 31, 2012 whats it look like in your db? is it like model id/spawn coords/colors/...? if so, then the element you should refer to is the one createVehicle returns you call it when you loop through the returned database rows 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