So, I’m using VRP framework but people don’t like how they need to go to a marker to buy a car. So I thought I’d implement it into the f9 menu. But that went horribly wrong and I almost committed suicide because I broke it all.
The only +side of the garage system, is that it makes the car spawn with the users registration number from the sql database.
So I thought I’d edit mello trainer so that when the vehicle spawns, it spawns with the registration number.
In the garage script I found this
I don’t think if that would work, thanks for the help tho, I think I may know the problem but don’t know how to fix it. In the VRP mod, somewhere else it probably has database connection info. I found where the getregistration number is defined. It just looked for registration number In database where it matches the user id and returns it, but I have no idea how to make it read an sql database in lua…only html. I guess the only other thing I could do is implement the buy garage system shit into a menu but I am clueless with lua. Wish they chose c++ or something. It must be so simple I just cannot read lua. This is so frustrating
With the garage system it looks like this.
and I want it to look like this with mello trainer