[FREE][ESX] Scratch card item

Hi everyone, I’ve just released my new scratch card system.
The scratch card it’s an usable item.

:arrow_down: Download and more information here

14 Likes

Thank you so much to share it, very cool!

2 Likes

Good job ! tks for share :slight_smile:

1 Like

Nice release

1 Like

The card don’t open…

Does the resource gives you any error?

close.

esx_inventoryhud/config.lua

To freeze the inventory? go to the config file and enter the name of the item and when you use the item it will immediately close the inventory and it will be fine.

Don’t have error

In the config file of my resource I’ve added a bool for that. Is it not working?

Great release, but you should secure your server event, because it can be easily abused

Hi, thanks for the tip. I’ve just uploaded a security fix on github. Do you mind check it out and tell me what you think?

for me not sry. Im using old esx 1.1 maybe my fault.

i try this alternative and work now is good and perfect.

Thx

:slight_smile:

Ok, thanks for sharing this solution mate :grinning:

Awesome share! Appreciate ya!!

1 Like

Awesome addition to gameplay! Great job on this! Works perfect!

1 Like


HELP

Hi, maybe you are using an old version of ESX?
As a solution you can replace the line with

TriggerClientEvent("esx_scratchcard:open", playerId)

And rename your resource like ‘esx_scratchcard’ otherwise you may have some problems with the NUI

The card cant open I dont know wy , there are not error …

The only thing I can think of is that you have not run the SQL code into your database from the scratchandwin.sql file

HELP ME PLZ! Scratch card is frozen on my screen! Pls pls pls