[Preview]
[Explanation]
This is very simple but useful resource for sending important warning notifications to your server’s players.
It is nothing special, but still very useful.
[Usage]
How to use:
Server Side
- TriggerClientEvent(‘id_warningnotification:notify’, source, message, duration)
Client Side
- TriggerEvent(‘id_warningnotification:notify’, message, duration)
- duration must be in milliseconds (1 second = 1000 milliseconds)
Example of usage:
Server Side
- TriggerClientEvent(‘id_warningnotification:notify’, xPlayer.source, ‘Test notification server side’, 5000)
Server Side
- TriggerEvent(‘id_warningnotification:notify’, ‘Test notification client side’, 5000)
Download (FREE)
Get this resource at GitHub
or
id_warningnotification.rar (2.7 KB)