Jump to content
Check out discord.gg/fxap for the cheapest decryptions! First one is free! ×

Get LB-Phone!

Unlock the powerful LB-Phone for a fraction of the price you pay on tebex.

Download

Premium TOS Clothing MEGA Pack!

11GB of pure TOS premium clothing best clothing pack for your Server!

Download

5Decrypt

Automated Asset Decryption

Learn More

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