renzuzu / renzu_shops

Fivem Advanced Shops with stocks and player owned shops using ox_inventory , ox_lib. Item metadata supports and item customisation.
GNU General Public License v3.0
80 stars 38 forks source link

how to implement vehicle shop vip #109

Open chuchoB3x opened 1 year ago

chuchoB3x commented 1 year ago

How can you add a shop vip vehicle, change the moneytype with the vip currency registered in the extended but it does not recognize it, keep marking bank or money

[2] = { --groups = 'police', moneytype = 'b_coins', type = 'vehicle', label = 'Vehiculos VIP', coord = vec3(-1248.3510742188,-350.24868774414,37.33287), purchase = vec4(-1231.9196777344,-349.27304077148,36.66028213501,30.436424255371), spawn = vec4(-1256.2485351563,-366.36083984375,36.495769500732,355.48330688477), spin = true, restock = vec4(-1241.8355712891,-328.19290161133,37.422836303711,297.9235534668), cashier = vec3(-1252.7078857422,-348.5173034668,36.90762), blip = { id = 402, colour = 69, scale = 0.8 }, price = 3000000, supplieritem = MultiCategory( {['boats'] = true, ['planes'] = true}, -- blacklisted types { --['boats'] = true }, -- whitelisted types, if you want to whitelist only, doing whitelist will disable category table below Vehicles.VIPBAJA, Vehicles.VIPMEDIA, Vehicles.VIPALTA ), camerasetting = {offset = vec3(0.0,1.0,0.0), fov = -10},

    showcase = {
        [1] = {
            coord = vec3(-1262.4072265625,-356.31912231445,37.01580), 
            label = 'Spot 1',
            position = vec4(-1263.5510253906,-353.92984008789,36.510929107666,208.12538146973),
        },
        [2] = {
            coord = vec3(-1267.3598632813,-357.88278198242,37.1833), 
            label = 'Spot 2',
            position = vec4(-1267.8084716797,-356.44583129883,36.697582244873,219.08364868164),

        },
        [3] = {
            coord = vec3(-1267.1409912109,-361.76306152344,36.941), 
            label = 'Spot 3',
            position = vec4(-1269.6141357422,-362.91970825195,37.11107635498,297.50491333008),
        },
    }
},
renzuzu commented 1 year ago

add item = true in one of the params