19.09.2014, 13:31
Hi,
So I'm trying to load buyable vehicles from a .txt file to include the data into a dialog. So for example, the text file should look like this:
//name, price, vehicleid
I then need to include that into a dialog, so when a player clicks 'next', it would keep moving down the list in the .txt file. The dialog should then display the vehicle's name, price and the ID that it should create the vehicle in the dealership, so the player can look at it.
Thanks for any help given! If you need more details, just reply to the thread, but there's not really much I can give. I've ******'d the solution, and could not find any answers. I've also looked at other scripts, but they do it awkwardly and hardly understandable.
Any help given, I will leave rep as appreciation.
So I'm trying to load buyable vehicles from a .txt file to include the data into a dialog. So for example, the text file should look like this:
//name, price, vehicleid
Quote:
Sultan, 45000, 560 |
Thanks for any help given! If you need more details, just reply to the thread, but there's not really much I can give. I've ******'d the solution, and could not find any answers. I've also looked at other scripts, but they do it awkwardly and hardly understandable.
Any help given, I will leave rep as appreciation.