[Release] [ESX] 99kr-shops

hello is there a way to replace pnotify with mythic_notify? and I would like to add a menu with images of the item to be purchased! by the way this very nice skript

So im trying to add a “gun” store via using this script however it doesn’t work, ive added in the values, and added in the locales for them however it doesnt register it at all

scrren : https://gyazo.com/05cf9d1cc3a0c9d5a7bfa0fdaa82ea85

good evening i have a problem when i buy there is a problem with the callback for checking the money my es_extended is up to date i think this script is no longer my server is up to date, a person can help me to solve the problem please?

I have this problem too. Did u fix it ?

Can you post your code. My just dont want to work

can not use the items ):

https://gyazo.com/843a0e06087f6efa9f3a2096851ed07d

’ not `

you need add it to basicneeds or extra items, or use your own food and drinks

help ? es_extended: TriggerServerCallback => [99kr-shops:CheckMoney] does not exist

2 Likes

I get this Error when i have buy´d some Stuff and press the button for the Inventory

change this
ESX.RegisterUsableItem(‘cocacola’, function(source)
to this
ESX.RegisterUsableItem(‘cocacola’, function(source)

the problem ‘cocacola’
the correct way to make it work is using this one ‘cocacola’

Hey @ all… a little snag. Shops are configured with my items and I can place items from all the shelfs except the ‘drinks’ shelf. I can put items in my basket and make a purchase at the counter from all but the ‘drinks’ shelf. Every time I step on the ‘drinks’ marker and press E - the script shuts off and all markers disappear. I was getting an error for client/shop.lua on line 19 - draw3dtext, but that seems odd since all other shelfs and the cashier operate with zero problems. Any ideas? Thanks!!!

It’s because this script uses xPlayer.addInventoryItem from ESX, which only adds the items, not weapons. For that you need xPlayer.addWeapon. You can either try using two shops at the same time or modify 99kr-shops to support both.


I am getting a similar error, however I can not figure out why this happens. I know for a fact though that everything still works for me, if you don’t have any money you can’t buy anything etc. so I consider that a warning message and not a warning message. Just to make life easier.

I come with such a problem because after adding the store and 20 to 21 id and changing the cords after adding to the cart, the item is removed

[21] = {

        ["shelfs"] = {

            {["x"] = 1728.78, ["y"] = 6414.41, ["z"] = 35.04, ["value"] = "checkout"},

            {["x"] = 1731.44, ["y"] = 6415.73, ["z"] = 35.04, ["value"] = "drinks"},

            {["x"] = 1733.92, ["y"] = 6417.4, ["z"] = 35.04, ["value"] = "snacks"},

            {["x"] = 1736.88, ["y"] = 6415.61, ["z"] = 35.04, ["value"] = "readymeal"},

            {["x"] = 1729.82, ["y"] = 6416.42, ["z"] = 35.04, ["value"] = "diverse"},

        },

        ["blip"] = {

            ["x"] = 1734.64, ["y"] = 6417.04, ["z"] = 35.04

        },

        ["cashier"] = {

            ["x"] = 1727.87, ["y"] = 6415.25, ["z"] = 34.06, ["h"] = 242.93

        },

    },

Hi can i get a ESXlink?

How can i fix the issue with no limit when buying a item?

So I had to reinstall ESX and when I did, the animation for cigarettes to be useable and to play the animation no longer works. Any ideas how to fix?

did you find out ?

did you find out ? :stuck_out_tongue: