Disclaimer: This script may not be unique, this is the first script that I made for my server, and I decided to release publicly. Also, this is my first time creating a topic. I will add pictures as soon as I get back to the computer.
If you have any questions or issues, create an issue on Github and I`ll answer back ASAP.
There we’re some issues with the script at the initial release, it should work as intended now!
It ain’t copied mate, compare the client side, it’s completely different. For the server side, I generated a random number, to give items in a certain range (of that number), how else would you do it? Tell me a method and I will modify the script.
From what I see, you need to use a client event to notify the player, because the export is for client side only. Something like this: TriggerClientEvent('mythic_notify:client:SendAlert', target, { type = 'inform', text = configS.searchNotify, length = 2500, style = { ['background-color'] = '#ffffff', ['color'] = '#000000' } })