Config
data/config.lua
General configuration is found in this file.
local config = {
nerf_ammo_item = "nerf_ammo", -- this ammo can be used on "nerf" type weapons
airsoft_ammo_item = "airsoft_ammo", -- this ammo can be used on "airsoft" type weapons
remove_on_use = true, -- should ammo be removed on use?
ragdoll_peds = true, -- ragdoll peds when hit
ragdoll_players = true, -- ragdoll players when hit
ragdoll_time = 5, -- ragdoll time (seconds)
ragdoll_force = 1, -- velocity force multiplier on ragdoll (0 for none, 10 default)
ragdoll_cooldown = 30, -- time/cooldown between player ragdolls (seconds)
block_non_temporary_events = true, -- should peds react to non temporary events while player is wielding a nerf/airsoft gun? (https://docs.fivem.net/natives/?_0x90D2156198831D69)
blocking_radius = 50.0, -- non temporary events blocking radius
}
Last updated