ConfigurationAdvanced
Images
Learn how to configure the images for interiors.
Learn how to configure the images for interiors.
The image API fetches images from an external source and displays them in the UI. This can be useful for displaying images of items, locations, or other content in your resource.
config.lua file in the resource folder.Config.ImageAPI table.url function with your image source. You can use placeholders like modelHash, modelName, and modelLabel to customize the URL.callback function to return the image URL from the result object.The resource also allows you to specify image URLs for vehicles.
config.lua file in the resource folder.Config.Images table.'vehicle_model' with the model name of the vehicle.