Wallet Script Update - STG_WALLET [ESX]




CONTACT ME IF YOU NEED HELP

Update Note

  • Interface changed.
  • Extra slots have been opened to add special licenses.
  • Adding licenses made simple.
  • Added card show animation.
  • wallet prop added.
  • Added ability to walk with wallet open.

Config

Config = {}

Config.Keybind = false -- if you want open the wallet with key set be true
Config.OpenKey = 244 -- https://docs.fivem.net/docs/game-references/controls/
Config.NeedItem = false -- if you want open the wallet without item set be false
Config.DefaultWallet = "black" -- set be color if wallet opening without item (black,purple)

Config.Mythic = false -- if you using mythic_notify need be true
Config.CanWalk = true -- if this be false you can't walk when wallet is open

Config.NeedWallet = "You haven't wallet!"

Config.WalletProp = "prop_ld_wallet_pickup"
Config.CardProp = "prop_cs_swipe_card"

Config.Near = "No players nearby !"
Config.Show = "You showed the card to those near you!"

Config.Licenses = {
    Police = {
        JobLicense = true,
        Name = "police",
        BadgeImage = "police.png",
        LicenseImage = "PoliceLicense.png"
    },
    Sheriff = {
        JobLicense = true,
        Name = "sheriff",
        BadgeImage = "sheriff.png",
        LicenseImage = "SheriffLicense.png"
    },
    Ambulance = {
        JobLicense = true,
        Name = "ambulance",
        BadgeImage = "ems.png",
        LicenseImage = "AmbulanceLicense.png"
    },
    Lawyer = {
        JobLicense = true,
        Name = "lawyer",
        BadgeImage = "lawyer.png",
        LicenseImage = "LawyerLicense.png"
    },
    Vehicle = {
        JobLicense = false,
        Name = "drive",
        BadgeImage = "",
        LicenseImage = "DriverLicense.png"
    },
    Weapon = {
        JobLicense = false,
        Name = "weapon",
        BadgeImage = "",
        LicenseImage = "DriverLicense.png"
    },
}

Preview

Preview

Purchase

Tebex (Updated.)
Open Source (Updated.)

OTHER SCRIPTS
STG_CHESS
STG_TASER
STG_WALLET
STG_ADVANCEDBANKING

Code is accessible No
Subscription-based No
Lines (approximately) 400
Requirements es_extended, mythic_notify
Support Yes
(For releases without code the not applicable fields can be written as N/A)
2 Likes

Works with ESX 1.2 ?
The line to change the key assignment is missing in the config.

yes works, which key ?

vay vay vay veri nice bro

1 Like

keybind

You mean the key that closes the ID shown?

I mean if you can change the keyboard key in the config to open the script.

Nice :+1:
Like @Berlin-Sky I would also be very pleased if you can add a “Keybind for Open the Wallet” Option.
After a short brain-using, i checked. Add a Item called “wallet”, if the player has the wallet he can open it from inventory. logic… :smiley:
And i just wondered and noticed, you have some “console.log(“test 1”)” in your javascript file.

1 Like

hehe my fault. i will add keybind support :grin: :v:

i will do today

updated you can review the new config

updated. you can review the new config

update this esx getshared thing