68 lines
2.0 KiB
Lua
68 lines
2.0 KiB
Lua
Config = {}
|
|
|
|
Config.DrawDistance = 10.0 -- How close do you need to be in order for the markers to be drawn (in GTA units).
|
|
Config.Debug = ESX.GetConfig().EnableDebug
|
|
Config.Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
|
|
|
|
Config.ReviveReward = 250 -- Revive reward, set to 0 if you don't want it enabled
|
|
Config.LoadIpl = true -- Disable if you're using fivem-ipl or other IPL loaders
|
|
|
|
Config.Locale = GetConvar('esx:locale', 'en')
|
|
|
|
-- Prevents desync on dead players by skipping ragdoll.
|
|
-- Players are revived instantly and play an animation instead.
|
|
-- Note: Natives like "IsPedFatallyInjured" will no longer work reliably.
|
|
-- Use Player(src).state.isDead for death checks.
|
|
Config.DeathAnim = {
|
|
enabled = true,
|
|
dict = "misslamar1dead_body",
|
|
name = "dead_idle",
|
|
fadeIn = 10.0,
|
|
fadeOut = 10.0,
|
|
flags = 1|2|8,
|
|
playbackRate = 1.0
|
|
}
|
|
|
|
Config.DistressBlip = {
|
|
Sprite = 310,
|
|
Color = 48,
|
|
Scale = 2.0
|
|
}
|
|
|
|
Config.zoom = {
|
|
min = 1,
|
|
max = 6,
|
|
step = 0.5
|
|
}
|
|
|
|
Config.EarlyRespawnTimer = 60000 * 1 -- time til respawn is available
|
|
Config.BleedoutTimer = 60000 * 10 -- time til the player bleeds out
|
|
|
|
Config.EnablePlayerManagement = false -- Enable society managing (If you are using esx_society).
|
|
|
|
Config.RemoveWeaponsAfterRPDeath = true
|
|
Config.RemoveCashAfterRPDeath = true
|
|
Config.RemoveItemsAfterRPDeath = true
|
|
|
|
-- Let the player pay for respawning early, only if he can afford it.
|
|
Config.EarlyRespawnFine = false
|
|
Config.EarlyRespawnFineAmount = 5000
|
|
|
|
Config.OxInventory = ESX.GetConfig().OxInventory
|
|
Config.RespawnPoints = {
|
|
{coords = vector3(-346.04037475586, -610.48919677734, 37.338611602783), heading = 48.5}, -- MD
|
|
{coords = vector3(1836.03, 3670.99, 34.28), heading = 296.06} -- Sandy Shores
|
|
}
|
|
|
|
Config.PharmacyItems = {
|
|
{
|
|
title = "Medikit",
|
|
item = "medikit"
|
|
},
|
|
{
|
|
title = "Bandage",
|
|
item = "bandage"
|
|
},
|
|
}
|
|
|