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

Car spawn #74

Closed GearXgaMer closed 1 year ago

GearXgaMer commented 2 years ago

Hello Is it possible to modify /vehicle give command that the car will spawn next to player and not in garage

zfbx commented 2 years ago

Yes and no? It's not really a simple process to do at all and a lot of variables make it weird. for example if the server is a RP server then a car just appears next to them randomly wherever they are? pretty unrealistic. and if someone is in the middle of doing something somewhere a car shouldn't be like in an MLO or something and someone runs the command there's not a car stuck in an MLO which requires someone to deal with. then there's all the code on top of it to make it spawn near them but not on them and not on anyone else around them.