LB Phone

triangle-exclamation

Application code

You need to insert this code in your LB-Phone config.lua file

Config.CustomApps = {
    ["ks_banking"] = {
        name = "Bank",                                                           -- The name of the app, shown to the user
        description = "Manage your money, share it with your friends",           -- The description of the app, shown to the user
        developer = "KobuSCRIPT",                                                -- OPTIONAL the developer of the app
        defaultApp = true,
        game = false,                                                            -- Not a game
        size = 59812,                                                            -- OPTIONAL in kB
        images = {},                                                             -- Images for app store (not used cause it's default app)
        ui = "ks_banking/web/dist/index.html?app=phone",                         -- DO NOT EDIT OR YOUR APP WILL NOT WORK
        icon = "https://cfx-nui-" .. GetCurrentResourceName() .. "/ui/icon.png", -- OPTIONAL app icon
        price = 0,                                                               -- OPTIONAL, Make players pay with in-game money to download the app
        landscape = false, 
        keepOpen = true,
        onUse = function() end,
        onServerUse = function(source) end
    }
}

Mis à jour