Custom Framework
Learn how to add and configure custom frameworks.
Learn how to add and configure custom frameworks.
If you are using a custom framework or wish to add a framework that's not officially supported, follow these steps to integrate it with the resource.
config.lua file in the resource folder.Config.Framework variable.Standalone.callbacks.lua and locate the sections marked with -- standalone. These are placeholders where you should insert your own framework’s functions and events.config.lua to align with your framework:
Config.VehicleCheck – Ensure it correctly verifies vehicle ownership.Config.JobCheck – Adjust it to check the player’s job.Config.Notification – Configure it to send notifications properly.Config.GetVehicleProps – Make it retrieve vehicle properties as needed.Config.SetVehicleProps – Adjust it to update vehicle properties accordingly.For additional assistance, contact us on our Discord server.