Price
$10.00A script by aRii0
Price
$10.00


Currently we have started our Halloween Sale with 30% discount. Get Novel NoCombatAfterDeath for 7€

This script ensures that players are no longer able to fight after they have died. The players can not use any weapons once they are incapacitated, it can also be set that boxing is disabled during the incapacitation. The time of incapacitation can also be set freely as well as much more. The script can be used standalone or with esx.





Config = {}
Config.ESX_Settings = {
UseESX = true,
CommandName = "ct",
AdminGroups = {
{group = "superadmin"},
{group = "admin"},
{group = "moderator"},
{group = "supporter"}
},
}
Config.GetESXServer = function()
local ESX
ESX = exports["es_extended"]:getSharedObject()
--TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
return ESX
end
Config.UseNoWeaponTime = 10 *60000 -- during this time players can not use weapons
Config.UseWalkingStyles = true -- Set the running style of the player when revived
Config.DisablePunching = true -- Disable boxing
Config.Locals = {
["NoUseWeapons"] = "Unfortunately, you can't operate any weapons due to your mental state! Wait best 10 minutes",
["CanUseWeapons"] = "You can use your weapons again please watch out!",
["AdutyIsRequied"] = "You musst go aduty for this action!"
}
function Notify(player, msg)
if player == nil then
TriggerEvent('notifications', '#FFCD00', 'Weapons', msg )
return
end
TriggerClientEvent('notifications',player, '#FFCD00', 'Weapons', msg )
end
Price 10€ with Tax
Buy here on tebex
| Code is accessible | only the command code |
| to customize | |
| Subscription-based | No |
| Lines (approximately) | 300+ |
| Requirements | MySql-Async |
| Support | Yes |
See what others are saying about this script.
Share your experience and help others.