![[PAID][ESX] Killzones | MK-Services main image](https://forum-cfx-re.akamaized.net/optimized/4X/8/7/4/8744aa3fbc69dc08ca7529144b2c526ddfc615af_2_690x388.jpeg)
Price
$10.00A script by Pain1435
Price
$10.00This resource is compatible with ESX v1.1 / ESX 1.2 (v1 Final) / ESX Legacy (v1.3 - v1.5)/ Extendedmode.
This Killzone Script is a must have for every Crimelife FiveM Server
Showcase: Click me
Buy: Click me (Secured by FiveM Escrow System)
Config Snippets:
MK = MK or {}
-- By default 'en' and 'de' are supported.
-- You can modify or add new translations in the translations.lua file
MK.Language = 'en'
MK.ESXEvents = {
GetSharedObject = 'esx:getSharedObject',
PlayerLoaded = 'esx:playerLoaded',
PlayerDeath = 'esx:onPlayerDeath'
}
-- Amount players needed on server for a new killzone to open
MK.MinPlayerCount = 0
-- Time how long the killzone will be active
MK.ZoneTime = 10 -- in seconds
-- Time between two killzones
MK.PauseTime = 10 -- in seconds
MK.BlipConfig = {
Sprite = 9,
Color = 75,
Alpha = 75
}
MK.Killzones = {
[1] = {
Position = { x = -207.4201, y = -1936.786, z = 27.620389 },
Label = 'Casino',
Size = 200.0,
Rewards = { -- A random entry of rewards will be picked
{ type = 'item', name = 'water', amount = 1, label = '1x water' }, -- Available types: 'item', 'money', weapon
{ type = 'money', account = 'money', amount = 10, label = '$10' }, -- For account by default you can use 'money', 'bank' and 'black_money'
{ type = 'weapon', name = 'weapon_advancedrifle', ammo = 100, label = 'Advanced Rifle' },
}
}
}
MK.Notify = function(type, message)
if message ~= nil and message ~= '' then
if type == 'success' then
TriggerEvent('esx:showNotification', message)
elseif type == 'warning' then
TriggerEvent('esx:showNotification', message)
elseif type == 'error' then
TriggerEvent('esx:showNotification', message)
elseif type == 'info' then
TriggerEvent('esx:showNotification', message)
end
end
end
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | LUA: ~800 UI: ~150 |
Support | Yes |
No approved reviews found for this script yet.