Jump to content

Would it be possible to add support for Virtual Garage in a future update?

Pending 1.0.8

Lucho Portuano
Lucho Portuano

Posted

Hi,

I contacted the developer of Virtual Garage regarding compatibility with Vehicle Tuning, and this was their response.

At the moment, tuning modifications are not preserved when a vehicle is stored and retrieved from Virtual Garage because the plugin despawns the original vehicle and creates a completely new entity when it is retrieved.

However, they mentioned that Virtual Garage already provides hooks specifically to support this type of integration. According to them, compatibility can be added by implementing the following hooks:

OnVirtualGarageSaveAttachments(...) – Save the vehicle tuning data into the provided metadata before the vehicle is stored.

OnVirtualGarageRestoreAttachments(...) – Read that metadata and reapply the tuning data to the newly spawned vehicle when it is retrieved.

They said the implementation should be fairly straightforward and that the full hook documentation is available in the Virtual Garage documentation.

The Virtual Garage developer also said they would be happy to answer any questions you may have regarding the integration.

Would it be possible to add support for Virtual Garage in a future update?

Thank you for your time.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.7m
Total downloads
Customers
11.5k
Customers served
Files Sold
165k
Total sales
Payments
3.6m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.