What MTA Server version do you using?
In the future - if someone needs help, or found a bug, wants to give an advice - please consider using my GitHub Issues, or DM me.
Hi! I created a script which can send messages from server to Discord on Webhooks.
You can find the tutorial in here.
A little help if someone wants to log the server messages, commands using the webhook system
https://gist.github.com/preilakos/9cf9b63bdc47e1468cdcd045f6e39ca5
Download from GitHub
A few months ago i created a horse script in MTA:SA. I decided to publish it, because i haven't got time to work on it. Its not a working script, it needs some work, i just wrote functions.
If you find my script useful, you can donate a few dollars to me on PayPal. Thank you! You can find it on GitHub.
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.
Get the Ped's health with getElementHealth and draw to screen with dxDrawText. If you want set the ped's default displayed health to 100 divide the getElementHealth with 100.