Setup
Installation
Follow the instructions below to run the
gusti-deathscreenscript on your serverExtract file
Copy / Cut
gusti-deathscreeninto your server's resources folderOpen server.cfg
Add the
gusti-deathscreenscript by ensuregusti-deathscreenin server.cfgRestart server
Finished
Now you can enjoy the features of the
gusti-deathscreenscript on your server
Usage
TriggerEvent
TriggerEvent('gusti-deathscreen:OnDeathScreen', duration)TriggerEvent('gusti-deathscreen:OffDeathScreen', duration)Exports
exports['gusti-deathscreen']:OnDeathScreen(duration)exports['gusti-deathscreen']:OffDeathScreen(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