GithubHelp home page GithubHelp logo

xyberviri / b-t-cash-register Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simplyataco/b-t-cash-register

0.0 0.0 0.0 11 KB

Elevate your FiveM server with B&T Cash Register, a streamlined billing system designed for efficient in-game transactions. This script enhances commercial interactions, making it a must-have for servers focused on immersive gameplay.

Lua 100.00%

b-t-cash-register's Introduction

B&T Cash Register

Elevate your FiveM server with B&T Cash Register, a streamlined billing system designed for efficient in-game transactions. This script enhances commercial interactions, making it a must-have for servers focused on immersive gameplay.

Preview

[https://www.youtube.com/watch?v=GKHEDW6_lB8]

Features

Requirements

Installation Instructions

Item Code for OX-Inventory:

['receipt'] = {
    label = 'Receipt',
    weight = 15,
    stack = true,
},

If Logs is enabled

Go to es_extended > config.logs.lua Add the following code to Webhooks

 CashRegister = 'DISCORD_WEBHOOK'

Example:

Config.DiscordLogs = {
    Webhooks = {
        default = 'DISCORD_WEBHOOK',
        test = 'DISCORD_WEBHOOK',
        Chat = 'DISCORD_WEBHOOK',
        UserActions = 'DISCORD_WEBHOOK',
        Resources = 'DISCORD_WEBHOOK',
        Paycheck = 'DISCORD_WEBHOOK',
        CashRegister = 'DISCORD_WEBHOOK'
    },

    Colors = { -- https://www.spycolor.com/
        default = 14423100,
        blue = 255,
        red = 16711680,
        green = 65280,
        white = 16777215,
        black = 0,
        orange = 16744192,
        yellow = 16776960,
        pink = 16761035,
        lightgreen = 65309
    }
}

To make a cash register work use the following event

    TriggerEvent("bt-cashregister:openRegister)

Example:

    exports.ox_target:addBoxZone({
    coords = vec3(-432.5, 277.06, 83.42),
    size = vec3(1.0, 1.0, 1.25),
    rotation = 355,
    debug = false,
    drawSprite = true,
    options = {
        {
            name = 'bennysRegister',
            event = 'bt-cashregister:openRegister',
            icon = 'fa-solid fa-money-bill',
            label = "Cash Register", 
            groups = {['bennys'] = 0} -- Job Name
        }
    }
    })

Need Support?

[https://discord.gg/bntscripts]

b-t-cash-register's People

Contributors

simplyataco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.