Jump to content

example lua files for removing vehicles from traders


Ghostrider-GRG

Recommended Posts

A while ago there was a wonderful tutorial on how one can use lua scripts to 'restock' or completely remove the invetory for traders which I have been using for some time. Included in that was a script to replace vehicles with vehicle repair kits or other goodies. I wondered if anyone who is more adept at these things would be willing to share an lua script that deletes vehicles altogether. Any assistance would be much appreciated.

Link to comment
Share on other sites

15 minutes ago, vbawol said:

That post by Brunz is more or less what I have been using. The issue is that I am a Redis novice and I have not quite gotten my head around lua yet; my objective is to sorting out how one deletes the linked table entries for the vehicle and number of vehicles of that type in the list for that trader. The system Brunz proposed sort of works but bloats the table with vehicle repair kits. I have looked at some of those Redis resources and will keep digging. Thank you for taking the time to reply.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...