POLICE脚本设置(ESX)

1.基础设置

路径:esx_policejob/config.lua

Config.EnablePlayerManagement     = true --如果您希望社会管理,请启用。
Config.EnableArmoryManagement     = false --启用军械库管理。
Config.EnableESXIdentity          = true --如果您使用的是 esx_identity,请启用。
Config.EnableESXOptionalneeds     = false --如果使用esx_optionalneeds,则启用。
Config.EnableLicenses             = false -- 如果您正在使用esx_license,请启用。

Config.EnableHandcuffTimer        = true --启用手铐计时器? 时间结束后将解除对玩家的约束。
Config.HandcuffTimer              = 10 * 60000 -- 10分钟  如设置20*60000则是20分钟。

Config.EnableJobBlip              = true -- 为值班警察启用 blips,需要 esx_society。
Config.EnableCustomPeds           = false -- 在衣帽间启用自定义 peds? 请参阅下面的 Config.CustomPeds 以自定义 peds。

Config.EnableESXService           = false -- 启用 esx 服务?  false:关闭 true:开启
Config.MaxInService               = -1 --一次可以服务多少人?设置为-1没有限制t

2.坐标设置

Config.PoliceStations = {

	LSPD = {

		Blip = {                                         --POLICE图标位置
			Coords  = vector3(610.05, 7.11, 30.7),
			Sprite  = 60,
			Display = 4,
			Scale   = 1.2,
			Colour  = 29
		},

		Cloakrooms = { --换衣间位置。
			vector3(595.94, -13.91, 82.74)
		},

		Armories = { --武器库位置。
		--	vector3(605.55, 8.64, 82.74)
		},

		Vehicles = { --车辆位置。
			{ -- 警察局市区车库。
				Spawner = vector3(660.02, -11.48, 83.64),
				InsideShop = vector3(669.52, 4.06, 84.1),
				SpawnPoints = {
					{coords = vector3(666.64, -6.23, 84.08), heading = 230.57, radius = 6.0}
				}
			}
		},

		Helicopters = { --直升机位置。
			{
				Spawner = vector3(585.67, 1.88, 103.23),
				InsideShop = vector3(579.74, 12.85, 103.23),
				SpawnPoints = {
					{coords = vector3(579.74, 12.85, 103.23), heading = 184.23, radius = 10.0}
				}
			}
		},

		BossActions = {--BOSS菜单。
			vector3(553.19, -27.41, 82.74)
		}

	}

3.武器库配置

Config.AuthorizedWeapons = {
	recruit = {
		{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
		{weapon = 'WEAPON_FLASHLIGHT', price = 80}
	},
        boss = {
		{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
		{weapon = 'WEAPON_FLASHLIGHT', price = 0}
	}
}

注意标点符号

4.载具配置

Config.AuthorizedVehicles = {
	car = {
		recruit = {
			{model = 'policeb', price = 2000},
			{model = 'police3', price = 2000}
		},

		officer = {
			{model = 'policeb', price = 2000},
			{model = 'police3', price = 2000}
		},

		sergeant = {
			{model = 'policet', price = 2000},
			{model = 'policeb', price = 2000},
			{model = 'police3', price = 2000}
		},

		lieutenant = {
			{model = 'riot', price = 2000},
			{model = 'fbi2', price = 2000},
			{model = 'policet', price = 2000}
		},

		boss = {
			{model = 'h1alpha',         price = 2000},                
			{model = 'h6',              price = 2000},
			{model = 'polcoq4',         price = 2000}
		}
	},

	helicopter = {
		recruit = {},

		officer = {},

		sergeant = {},

		lieutenant = {
			{model = 'polmav', props = {modLivery = 0}, price = 200000}
		},

		boss = {
			{model = 'polmav', props = {modLivery = 0}, price = 100000}
		}
	}
}

注意标点符号

5.配置服装

Config.Uniforms = {
	recruit = {
		male = {
			tshirt_1 = 59,  tshirt_2 = 1,
			torso_1 = 55,   torso_2 = 0,
			decals_1 = 0,   decals_2 = 0,
			arms = 41,
			pants_1 = 25,   pants_2 = 0,
			shoes_1 = 25,   shoes_2 = 0,
			helmet_1 = 46,  helmet_2 = 0,
			chain_1 = 0,    chain_2 = 0,
			ears_1 = 2,     ears_2 = 0
		},
		female = {
			tshirt_1 = 36,  tshirt_2 = 1,
			torso_1 = 48,   torso_2 = 0,
			decals_1 = 0,   decals_2 = 0,
			arms = 44,
			pants_1 = 34,   pants_2 = 0,
			shoes_1 = 27,   shoes_2 = 0,
			helmet_1 = 45,  helmet_2 = 0,
			chain_1 = 0,    chain_2 = 0,
			ears_1 = 2,     ears_2 = 0
		}
	},

以上便是POLICE脚本的基础设置,当前脚本适用于:esx_policejob

文章版权声明 1、本网站名称:小饭
2、本站永久网址:https://xs.fivemxs.cn
3、本网站的文章部分内容可能来源于网络,仅供大家学习与参考,如有侵权,请联系站长QQ226666429进行删除处理。
4、本站一切资源不代表本站立场,并不代表本站赞同其观点和对其真实性负责。
5、本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
6、本站资源大多存储在云盘,如发现链接失效,请联系我们我们会第一时间更新。

© 版权声明
THE END
喜欢就支持一下吧
点赞9 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情

    暂无评论内容