Skip to content

uniqscripts/id_warningnotification

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
web
 
 
 
 
 
 

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