Setup
Installation
Follow the instructions below to run the
gusti-deathscreen
script on your serverExtract file
Copy / Cut
gusti-deathscreen
into your server's resources folderOpen server.cfg
Add the
gusti-deathscreen
script by ensuregusti-deathscreen
in server.cfgRestart server
Finished
Now you can enjoy the features of the
gusti-deathscreen
script on your server
Usage
TriggerEvent
TriggerEvent('gusti-deathscreen:OnDeathScreen', duration)
Exports
exports['gusti-deathscreen']:OnDeathScreen(duration)
Example
RegisterCommand('testdeath', function()
-- 120 seconds = 02:00 (minute)
exports['gusti-deathscreen']:OnDeathScreen(120)
end)
RegisterCommand('hidedeath', function()
exports['gusti-deathscreen']:OffDeathScreen()
end)
Last updated