Go to s_report.lua and put your webhook link into the file
Go to you server.cfg and start the resource
Adding a Role To Ping
Edit this line in the s_report.lua file local role = "576206163612401684" -- Must be a role id
After this it will ping whatever role id that is, also before asking how to get role ID’s read this:
you can click on a persons name and right click on the role and press copy id
or you can do \@Role and this will print the role id!
Usage and Screenshots
Do /report [id] [reason]
or /report [id]
A chat message will pop up either confirming the report has been sent or the parameter was incorrectly typed in.
Without Role Id
With Role ID
Using the latest commit from the GitHub w/ role id
Support
If you need support with the script, then don’t hesitate to DM me!
Known Errors
I see people getting incorrect ID’s when using the ESX or VRP framework, I never work with said frameworks, so if anyone that uses that framework has a fix, I’d love to hear it.
I fixed it so now if you put in the incorrect fields such as invalid id or not filling in the entire section, it will print a local error for you! It is updated on the github repository!
Oh man am I messing up - I didn’t get an error parsing the first time but now I do, really sorry about that Ill make sure it works for the next commit!
Enable devmode in discord settings, then right click on a role and click “copy id” to ping that role type <#id here> in the message but that doesn’t ping if it’s in an embed