🍬Business Details
Docs needed to run script on any ESX / QB server
Last updated
Docs needed to run script on any ESX / QB server
Last updated
["businessapp"] = { -- do not have any spaces in this name
name = "Business", -- the name of the app
description = "Details about business in the city.", -- the description of the app
developer = "XeX", -- OPTIONAL the developer of the app
defaultApp = true, -- OPTIONAL if set to true, app should be added without having to download it,
size = 59812, -- OPTIONAL in kB
images = {"https://i.imgur.com/iCvCepD.jpg"}, -- OPTIONAL array of images for the app on the app store
ui = "", -- OPTIONAL
icon = "https://i.imgur.com/iCvCepD.jpg", -- OPTIONAL app icon
price = 0, -- OPTIONAL, Make players pay with in-game money to download the app
landscape = false, -- OPTIONAL, if set to true, the app will be displayed in landscape mode
onUse = function() -- OPTIONAL function to be called when the app is opened
-- do something
ExecuteCommand('business')
end
}