Config = {}https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
Config.AdminCommand = "troll" -- 管理员命令的名称https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
Config.Rang = "admin" -- 需要的管理员命令权限https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
Config.HowLong = 120 -- 玩家应该拥有反恶作剧保护的时间https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
Config.TimeToSave = 5 -- 多久将时间保存到数据库https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
不要乱来哦
-- 对于开启反恶作剧保护的玩家的设置https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
Config.DisableVDM = true -- 禁用车辆造成的伤害,玩家仍然拥有恶作剧保护。(玩家仍会受到地面伤害)https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
Config.DriveBy = false -- 激活/禁用驾车射击https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
Config.DisableShooting = false -- 禁用射击https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
Config.DisablePunching = true -- 禁用在恶作剧保护模式下的打击https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
Config.DisablePunchingDamage = true -- 禁用其他人受到的拳击伤害https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
Config.Framework = "QBCore" -- 使用的框架(ESX, QBCore)https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
FrameworkObject = nilhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
function GetFrameworkObject()https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
if Config.Framework == "ESX" thenhttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
FrameworkObject = exports["es_extended"]:getSharedObject()https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
-- 旧版 ESX 支持https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
if not FrameworkObject thenhttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
TriggerEvent('esx:getSharedObject', function(obj) FrameworkObject = obj end)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
endhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
return exports["es_extended"]:getSharedObject()https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
elseif Config.Framework == "QBCore" thenhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
FrameworkObject = exports['qb-core']:GetCoreObject()https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
return exports['qb-core']:GetCoreObject()https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
endhttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
endhttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
-- 服务器功能https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
function GetPlayerIdentifier(id)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
if Config.Framework == "ESX" thenhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
return FrameworkObject.GetPlayerFromId(id).identifierhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
elseif Config.Framework == "QBCore" thenhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
return FrameworkObject.Functions.GetIdentifier(id, 'license')https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
endhttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
end