This resource is compatible with ESX v1.1 / ESX 1.2 (v1 Final) / ESX Legacy (v1.3 - v1.5)/ Extendedmode.
Description
This is a configurable “FFA” Script for your Server.
Features
- (NEW!) Player createable FFA arenas (selectable weapons, maps, password)
- (NEW!) UI Overhaul
- Fully configurable FFA arenas
- Configurable weapons/ammo for each arena
- Fully customizable blips, markers & peds
- Customizable reward
- Fancy UI for arena selection
- Database connection
- Adjustable notification event
- Protected from weapon exploits
- ESX events and prefix customizable
- Low performance consumption (0.00ms - 0.03ms)
Updated Showcase: Click me
Buy on Tebex: Click me (Secured by FiveM Escrow System)
Config Snippets:
MK = MK or {}
MK.Language = 'en'
MK.ESXSharedObject = 'esx:getSharedObject'
MK.ESXPlayerLoaded = 'esx:playerLoaded'
MK.ESXReviveEvent = 'esx_ambulancejob:revive'
MK.ESXSetJob = 'esx:setJob'
MK.ESXRestoreLoadout = 'esx:restoreLoadout'
MK.ESXPlayerDeath = 'esx:onPlayerDeath'
MK.SpawnProtection = {
Enabled = false,
Time = 5000 -- in milliseconds (1 second = 1000 milliseconds)
}
MK.LeaveCommand = 'quitffa'
MK.EnterLocation = {
Position = { x = -1274.022, y = 315.75762, z = 65.511749, h = 150.64178 },
Blip = {
Enabled = true,
Sprite = 84,
Color = 1,
Size = 0.8
},
Marker = {
Enabled = false,
Type = 1,
Size = { x = 3.0, y = 3.0, z = 0.5 },
Color = { r = 255, g = 255, b = 255 }
},
Ped = {
Enabled = true,
Ped = 'a_m_m_eastsa_02'
}
}
MK.ExitLocation = { x = -1284.393, y = 297.19979, z = 64.942306, h = 149.05895 }
MK.KillReward = {
Min = 5,
Max = 10,
Account = 'money'
}
MK.HealAfterKill = {
Enabled = true,
FillArmor = true
}
MK.DisabledKeys = {
38, -- E
}
MK.Arenas = {
['Meetingpoint'] = {
Enabled = true,
CenterLocation = { x = 195.29, y = -931.33, z = 25.7 },
ArenaRadius = 300.0,
MaxPlayers = 20,
SpawnPoints = {
{ x = 309.11843, y = -906.9835, z = 29.293771, h = 87.44049 },
},
Weapons = {
{ weapon = 'weapon_pistol', ammo = 100 },
}
},
}
MK.Notify = function(type, message)
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
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | LUA: ~750 UI: ~200 |
Support | Yes |