Jump to content
LOOKING FOR ROBLOX ASSETS? VISIT ROBLOXBAY.COM! ×
THE BEST DISCORD BACKUP BOT | PRESERVE YOUR DISCORD SERVER! ×

RobloxBay

Visit Site

FiveSecured

 

Stop shipping plaintext. FiveSecured encrypts, obfuscates, and licenses your Lua resources so customers run your work without ever holding your source.

Try for Free
  • 5decrypt-banner-v1.thumb.png.262b7992a5a4de66fd6633bf48af6c1c.png

qbCore Owned Shops 1.0.0

   (0 reviews)

2 Screenshots

About This File

A little script to make the convenience stores owned shops.  With alittle editing to the cfg and the database, this can also be used for other types of shops too!

 

Edited by Lil DizNick
Need to pull file from site

  • Funny 1
  • Weird 1

User Feedback

Recommended Comments

TokenBudOG

Posted

html error js1 or something like that froze my server

im QBCore

 

lololol

Posted

Im running qbcore and it runs just fine ? i love it. thanks uploader!!!

  • Nice 1
jsean100

Posted

does this need sql

 

Lil DizNick

Posted

No, it builds the table itself on first run

LeSenfpie

Posted



 

[    script:lg_stores] SCRIPT ERROR: @lg_stores/Server/Configurate.lua:221: attempt to compare number with nil

 

code is : 

if use_weight_system then
    -- This function will return TRUE if the player has enough space in his inventory
    function canCarryItem(source, weight)
        local xPlayer = QBCore.Functions.GetPlayer(source)
   
        if xPlayer then
            local maxWeight = QBCore.Config.Player.MaxWeight
            local totalWeight = QBCore.Player.GetTotalWeight(xPlayer.PlayerData.items)
            return ( (totalWeight + weight) <= maxWeight )
        end
 
        return false
    end
   
else

The error line is : 

   return ( (totalWeight + weight) <= maxWeight )

Itzurboii2021

Posted

What is the fix for the error code above as I'm having the exact same my end and I just can't find the fix for it?

QUE_SAVAGE

Posted (edited)

[script:lg_manage_sto] SCRIPT ERROR: @lg_manage_store/Server/Configurate.lua:221: attempt to compare number with nil   ANY FIXES FOR THIS ERROR

Edited by QUE_SAVAGE
kevin73

Posted

my error is this any help please 

SCRIPT ERROR: @lg_manage_store/Server/Configurate.lua:89: attempt to index a nil value (field '?')

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...

Important Information

By continuing on Launcherleaks.net, you agree to our Terms of Use, Guidelines & Privacy Policy