Jammer System
Guide to understand how jammer config works
Shared.Jammer = {
state = true, -- to use jammer system or not
model = 'sm_prop_smug_jammer', -- prop to spawn for jammer
distance = 30.0, -- range of jammer effective
permission = {"police"}, -- permission how can setup jammer (job/gang)
default = { -- default jammer setup location
--[[ template to add jammer locations
{
id = string, -- provide a unique of jammer tower
coords = vector4, -- location of jammer
range = number, -- range of jammer effectiveness
allowedChannels = number[] -- bypass frequency in jammer
canRemove = false, -- best to set it to false (allow to remove jammer)
canDamage = boolean -- jammer can be destroyed
},]]
-- example
{
id = 'police', -- provide a unique of jammer tower
coords = vec4(230, -1562, 28.6, 125), -- location of jammer
range = 15, -- range of jammer effectiveness
allowedChannels = { 98.0 }, -- bypass frequency in jammer
canRemove = false, -- best to set it to false (allow to remove jammer)
canDamage = false -- jammer can be destroyed
}
}
}
Last updated