Description : I created an item for roleplay servers. This is a consumable item which is made to avoid killing people when kidnapping them, you simply give them the pill and tell them to use it, and they are supposed to be forgetting what happened, without killing them if no ambulance is online.
I like the idea of this, but it doesnāt seem like I can āuseā the item. Yes, I have imported to the database using the .sql file, and yes i am using ESX.
Error loading script server/main.lua in resource oblivionpill: @oblivionpill/server/main.lua:5: attempt to index a nil value (global āESXā)
stack traceback: @oblivionpill/server/main.lua:5: in main chunk
Failed to load script server/main.lua.
I honestly donāt know why you have this error, are you on ESX ? Or are you using an old es_extended or essentialmode ? Because I donāt have any issue with my script on recent ESX base