Send message to Discord from MTA:SA
STEP I.
Make a new webhook on your Discord server
STEP II.
Change the variable to your webhook URL.
STEP III.
Start the resource, and test it with the /dcmessage <string> command, or use it with another script using the following export:
exports.webhook:sendDiscordMessage("string")
Download the script here.