Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

NEW Version of Dark Market Script (Written in Svelte)

License

Notifications You must be signed in to change notification settings

qw-scripts/qw-blackmarket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qw-scripts Banner

qw-scripts discord

https://dsc.gg/qw-scripts

qw-blackmarket

QBCore Customizable blackmarket System

Installation

PLEASE DOWNLOAD FROM THE LATEST BUILD HERE

Crypto Setup

Using QBCore Crypto

Add the following function export to qb-crypto/server/main.lua

function GetCurrentCryptoWorth()
    return Crypto.Worth[coin]
end

exports('GetCurrentCryptoWorth', GetCurrentCryptoWorth)

Using Renewed Phone Crypto

Add the following function export to qb-phone/server/crypto.lua

local function GetCryptoValue(type)
    local v = Config.CryptoCoins[GetConfig(type)]
    local value = v.value

    return value
end

exports('GetCryptoValue', GetCryptoValue)

I would highly using the qb-phone that Renewed-Scripts released, you can find the script here: https://github.com/Renewed-Scripts/qb-phone

Preview

https://vimeo.com/789457492