NTeam Development
  • MAIN
  • INFORMATION
    • Support
    • Licenses
  • FAQ
    • You lack the required entitlement to use
    • Random props on map / textures bug / missing buildings
    • sp_manifest.ymt error?
    • Stuck on loading screen?
  • TUTORIALS
    • Conflicts
    • Bilboards
  • MAPS
    • Installation
    • Los Santos River
      • Installation
    • Custom Caffe
      • Elevator script
    • Mile High
      • Versions
      • Elevator script
    • Bridge V2
      • Blockade Script
    • Borders
      • Borders script
    • Monorail
    • Hospital
  • SCRIPTS
    • Admin Panel
      • ESX
        • Installation
        • Config
        • Webhook
      • QB-Core
        • Installation
        • Config
        • Webhook
    • Job Dashboard
      • ESX
        • Installation
        • Config
        • Presets
        • Logs
    • Pause Menu
      • ESX & QB-Core
        • Installation
        • Config
        • Style
    • Train scenario script
Powered by GitBook
On this page
  1. MAPS
  2. Borders

Borders script

The script comes free with the purchase of the map

PreviousBordersNextMonorail

Last updated 11 months ago

  1. Navigate to nteam-border/sared/sh_conflig.lua

  2. Set right framework (esx or qbcore ) Framework = 'ESX' or Framework = 'QB'

  3. Install ox_lib, if you don't have ox_lib download it from this

Here is preview of sh_conflig.lua

Config = {
	Framework = 'ESX', -- (QB,ESX)

	debug = false, -- set this to false, when you are ready to use resource ( when it's enabled you can use command border to control borders )

	ControlRooms = { -- insert as many as you want
		[1] = { coords = vector4(1705.7788, 1454.9409, 85.4949, 206.1096) },
	},

	-- jobs that can control border
	Jobs = {'police','sheriff'},

	IgnoreJobs = { -- for this jobs wont be charged when they cross border
		'police',
		'sheriff',
		'ambulance'
	},
	Dispatch = false, -- If you want to enable dispatch notification set it to true
	Payment = true,	-- enable/disable payment
	-- amount of money to pay when going through border with normal speed and when you drive by very fast
	NormalSpeed = 100,
	FastSpeed = 1000,

	Speed = 60, -- speed in KPH or MPH
	KPH = true,
	-- if you have blacklisted this ped and vehicle model, insert one you are using on your server
	policePedModel = 's_m_y_cop_01',
	policeVehicle = 'police',
	-- TRANSLATION
	Translate = {
		BorderControl = 'Border Control',
	}	
}

Dispatch = function()
	-- insert here your custom dispatch event or export
end

LINK