ScriptsM Watches
This scripts adding /time command to your server. You can watch time and get notifications of that, if you doesn’t have watches in clothing slot - you don’t get time.
Installation
Install all resource dependencies.
Download a release (opens in a new tab) or clone the source code.
git clone https://github.com/ScriptsM/ScriptsM-Watches.git
Setting up custom notifications
Find this export in client.lua:
exports['t-notify']:Custom({ -- Notification export
style = 'message',
title = 'Watches',
message = 'Displays time:' .. ' ' .. hours .. ':' .. minutes + math.random(2),
sound = true,
duration = 5500
})
Change t-notify exports to your notification exports