A script that gives you revive and respawn commands to aid your RP scenario. (Adrev and Adres for Admins) - Standalone Script
- Download the files and extract the folder from the zip file.
- Copy the folder and go to your resources folder in your server's root and paste it there.
- Go to
Server.cfgand start the resource by addingstart FiveM-DeathScript-master - Give you admins or whoever you want permissions to admin revive
command.adrevand respawncommand.adres.
If you wish to change the waiting time, go to the file with name of Client.lua, then change the numbers on:
- line 11
local respawnTime = 120for the respawn waiting time. - line 12
local reviveTime = 240for the revive waiting time.
- revive | Everyone is allowed to use it.
- respawn | Everyone is allowed to use it.
- adrev | permission:
adrev - adres | permission:
adres - setrespawntimer | permission:
setrespawntimer - setrevivetimer | permission:
setrevivetimer - deathtoggle | permission:
deathtoggle
You may use and edit the script as you wish but do not redistribute it.