[RELEASE] [ESX] r3_pawnshop

Fixed it. Download the latest version from github for the fix.

It works almost perfect. He takes a break between 00:00 and 01:00 :smiley:

I’ll take a look at that another time. Great that it works for the most!

Wait a second. Isn’t a pawnshop, a store where you buy animals? Please correct me if im wrong.
Anyways, this script is great. I love how the shop closes and opens, at specific times.
Great work!

Kindly regards

  • Kreddy

Really? Never thought of that but thanks for your positive feedback!

it isn’t at all. You are talking about a pet store.
A pawnshop is a shop where you can leave your valuable items in exchange for a loan, you can buy that item back within a certain amount of time for x amount of money. Or you can just sell your crap there.

N/M I was toying with the script and broke it.

Request: Multiple pawnshop locations.

I’ll look into it

Ahhh, my bad.

i dont know if anyone else has this issue, but if you walk away while in the menu, you cant reopen the menu.

1 Like

Hey this throws me error SCRIPT ERROR: r3_pawnshop / scripts / cl_pawnshop.lua: 78 attempt to index

I don’t know very well how to fix it

If I get an error from the variable ESX.UI.Menu.CloseAll ()

Whats the entire error that you get?

SCRIPT ERROR: r3_pawnshop / scripts / cl_pawnshop.lua: 78 attempt to index…

No the entire error so also what comes at … otherwise I can’t help

Would it be possible to add a marker to the script on where to stand…

Yeah, just add a drawmarker for the same coord

I have a problem, when someone is accessing the pawnshop, and access the inventory (esx_inventoryhud) the pawnshop bugs without throwing any errors. Noone can access the pawnshop until the script is restarted.

it already says, you didn’t close the parentheses on that line

any ideas why this doesnt work for me? running esx 1.1 and it just doesnt put anything at the location in the config, no errors to my knowledge