syn-safezone
Configuration
Config file for safe zone is given below.
Config.Framework = 'qbcore' -- 'qbcore', 'esx', 'ox_core', 'oldqb', 'qbox'
Config.AntiVDM = true -- Anti VDM
Config.DisableDriveBy = true -- Anti Driveby
Config.DisablePunching = true -- Anti Punch
Config.DisableFreeAim = true -- Anti Aim
Config.DisableShooting = true -- Anti Shooting
Config.DisableDrawWeapon = true -- Anti DrawWeapon
Config.WhitelistedJobs = {"police", "ambulance"} -- Jobs that are not affected
Config.LimitSpeed = true -- Speen Limitor
Config.maxSafeZoneSpeed = 150.0 -- Safezone Speed [In km/h]
You can add multiple zones by adding zones like down below.
Config.Bolgeler = {
[1] = {
name = "pillbox",
coords = {
vector2(268.0, -533.0),
vector2(247.0, -612.0),
vector2(363.0, -656.0),
vector2(415.0, -551.0),
},
debugPoly = false
},
[2] = {
name = "sandyhastane",
coords = {
vector2(1889.0, 3677.0),
vector2(1859.0, 3733.0),
vector2(1777.0, 3687.0),
vector2(1811.0, 3631.0),
},
debugPoly = false
},
[3] = {
name = "paletohastane",
coords = {
vector2(192.0, 6334.0),
vector2(-254.0, 6271.0),
vector2(-312.0, 6328.0),
vector2(-245.0, 6382.0),
},
debugPoly = false
},
}
Last updated