zfbx / zdiscord

A Discord bot that runs in FiveM for the purpose of whitelisting, moderation and utilties using discord.js
Other
210 stars 79 forks source link

[BUG] Vehicle not storing correctly #82

Closed JohnSacadorian1 closed 3 weeks ago

JohnSacadorian1 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. add a vehicle via zdiscord
  2. go to garage, and pull it out
  3. you are given "model does not exist in game".
  4. whats happening is, it's not putting any data in the mods table in the database. therefore not letting you pull it out of the garage.

Expected behavior able to give someone a vehicle using zdiscord and them being able to pull it out of the garage

Screenshots none needed, unless requested.

Information:

Additional context none

zfbx commented 1 year ago

Is the vehicle you're trying to store a custom? honestly this functionality is almost impossible for zdiscord to handle and really should be an export from the garage or core to correctly add vehicles. I can't really do that in any good way that is supported by whatever garage someone is using which is really annoying.. wish someone would PR exports to add and remove vehicles to someone's garage so they are always stored properly.