Skip to content

Very simple but useful resource for sending important warning notifications to your server's players.

License

Notifications You must be signed in to change notification settings

uniqscripts/id_warningnotification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


About This Resource

Preview Resource

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.

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)
  • CLIENT SIDE - TriggerEvent('id_warningnotification:notify', 'Test notification client side', 5000)

About

Very simple but useful resource for sending important warning notifications to your server's players.

Resources

License

Stars

Watchers

Forks

Packages

No packages published