Setup

Installation

  • Follow the instructions below to run the gusti-deathscreen script on your server

  • Extract file

  • Copy / Cut gusti-deathscreen into your server's resources folder

  • Open server.cfg

  • Add the gusti-deathscreen script by ensure gusti-deathscreen in server.cfg

  • Restart 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