Hello! So I am currently working on a Qbox based freeroam server and I am using PF-vMenu to spawn vehicles and other stuff which all works properly with no issues, however saving the vehicle does not seem to work, literally does nothing upon pressing the “Save Current Vehicle” option, has been my problem for months now and saw someone make a similar post but nobody really had an answer to it, I dont really know what to do on this matter, tried making a lua based menu with the function for specifically saving the vehicle and spawning saved vehicles only, more like a “portable garage”, the code base that I used as a base was from Lunar Garage but it also didnt work it saved the vehicle but not the customizations did to it, then after checking some other servers that uses vMenu as well it seems to work properly for them, could it be that vMenu does not work well with qbox? Hopefully someone can give some answers to this thanks in advance!
PF-vMenu’s “Save Current Vehicle” doesn’t work on Qbox because nothing in Qbox is listening for that save event.
vMenu (and PF-vMenu) only triggers the save UI, but it doesn’t include server-side logic to actually store the vehicle, and Qbox doesn’t provide one either — that’s why the button does nothing. Cfx.re Community
On other servers where save works, they added custom server handlers to receive the vehicle props, save them (file/DB), and later respawn them — PF-vMenu doesn’t do that by default.
Make sure you have the newest release that could be your problem I have used the vmenu in qb core esx and qbx and never had that problem
yes I do have the latest release of cfx artifacts could it be that I am using pf-vmenu instead of vmenu?
idk i have never used pf-vmenu
A few months ago, FiveM had to break an old and rarely used functionality of scripts , due to a critical server vulnerability. To account for this they also made fixes for the 2 most popular resources that used it - vMenu and FivePD. vMenu used this functionality when teleporting to far away players, when spectating and when saving vehicles. This is the fix they made Fix teleport to Player by prikolium-cfx · Pull Request #500 · TomGrobbe/vMenu · GitHub and the latest official version of vMenu incorporates this fix: currently Release [Release] vMenu v3.8.4 · TomGrobbe/vMenu · GitHub
Since pf-vMenu hasn’t been updated in 2 years, it doesn’t have this fix. You will either have to switch to the main vMenu or port the same fix to pf-vMenu yourself.