帮我汉化且不修改源码https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
if Config.Framework == "qbcore" thenhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
QBCore = exports[Config.QBCoreName]:GetCoreObject()https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
QBCore.Functions.CreateUseableItem("drone", function(source, item)https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
local src = sourcehttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
TriggerClientEvent('dz-drone:client:InitiateDrone', src)https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
end)https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
QBCore.Functions.CreateUseableItem("drone_lspd", function(source, item)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
local src = sourcehttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
TriggerClientEvent('dz-drone:client:InitiateDroneLSPD', src)https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
end)https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
elseif Config.Framework == "esx" thenhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
if Config.IsESXLegacy thenhttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
ESX = exports[Config.ESXLegacyName]:getSharedObject()https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
elsehttps://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
ESX = nilhttps://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
endhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
ESX.RegisterUsableItem("drone", function(source)https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
local src = sourcehttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
TriggerClientEvent('dz-drone:client:InitiateDrone', src)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
end)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
ESX.RegisterUsableItem("drone_lspd", function(source)https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
local src = sourcehttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
local Player = ESX.GetPlayerFromId(src)https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
if (Player.job.name == "admin") or (Player.job.name == "agent") or (Player.job.name == "police") thenhttps://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
TriggerClientEvent('dz-drone:client:InitiateDroneLSPD', src)https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
elsehttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
TriggerClientEvent('dz-drone:client:Notify', src, 'You\'re not authorised to use this drone', 2)https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
endhttps://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
end)https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
endhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
RegisterNetEvent('dz-drone:server:DoSyncDrone', function(drone)https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
TriggerClientEvent('dz-drone:server:DoSyncDrone', -1, drone)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
end)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
RegisterNetEvent('dz-drone:server:PlayerSound', function(sound, coords)https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
TriggerClientEvent('dz-drone:server:PlayerSound', -1, sound, coords)https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
end)https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
RegisterNetEvent('dz-drone:server:GetTargetPlayerInformations', function(target)https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
local src = sourcehttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
local Target = tonumber(target)https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
local TargetInfo = {https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
Title = "Unknown",https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
SubTitle = "Target is not found in database",https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
Infos = {}https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
}https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
if (Config.Framework == "qbcore") and (QBCore ~= nil) thenhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
local Player = QBCore.Functions.GetPlayer(Target)https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
if Player thenhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
TargetInfo = {https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
Title = Player.PlayerData.charinfo.firstname,https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
SubTitle = "Target ID: "..Target,https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
Infos = {https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
'岛民姓名: '..Player.PlayerData.charinfo.firstname,https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
'Lastname: '..Player.PlayerData.charinfo.lastname,https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
'Birthdate: '..Player.PlayerData.charinfo.birthdate,https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
'Gender: '..(Player.PlayerData.charinfo.gender == 0 and "Male" or "Female"),https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
'Nationality: '..Player.PlayerData.charinfo.nationality,https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
}https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
}https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
TriggerClientEvent('dz-drone:client:TargetPlayerInformations', src, TargetInfo)https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
endhttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
elseif (Config.Framework == "esx") and (ESX ~= nil) thenhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
local Player = ESX.GetPlayerFromId(Target)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
if Player thenhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
if Config.SQL == "oxmysql" thenhttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
MySQL.Async.fetchAll('SELECT * FROM users WHERE identifier = ?', {Player.identifier}, function(result)https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
if result[1] and result[1].firstname thenhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
TargetInfo = {https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
Title = result[1].firstname,https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
SubTitle = "Target ID: "..Target,https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
Infos = {https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
'岛民姓名: '..result[1].firstname,https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
'Lastname: '..result[1].lastname,https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
'Birthdate: '..result[1].dateofbirth,https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
'Gender: '..(result[1].sex == "m" and "Male" or "Female"),https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
'Height: '..result[1].height,https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
}https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
}https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
endhttps://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
TriggerClientEvent('dz-drone:client:TargetPlayerInformations', src, TargetInfo)https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
end)https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
elseif Config.SQL == "mysql-async" thenhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
MySQL.Async.fetchAll('SELECT * FROM `users` WHERE `identifier` = @identifier', {https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I
['@identifier'] = Player.identifierhttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
}, function(result)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
if result[1] and result[1].firstname thenhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
TargetInfo = {https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
Title = result[1].firstname,https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
SubTitle = "Target ID: "..Target,https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
Infos = {https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
'岛民姓名: '..result[1].firstname,https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
'Lastname: '..result[1].lastname,https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
'Birthdate: '..result[1].dateofbirth,https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
'Gender: '..(result[1].sex == "m" and "Male" or "Female"),https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
'Height: '..result[1].height,https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
}https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
}https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
endhttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
TriggerClientEvent('dz-drone:client:TargetPlayerInformations', src, TargetInfo)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
end)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
elsehttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
print('^2[dz-drone] ^1Wrong SQL, script allows only \'oxmysql\' or \'mysql-async\'')https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
print('^2[dz-drone] ^1Wrong SQL, script allows only \'oxmysql\' or \'mysql-async\'')https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
print('^2[dz-drone] ^1Wrong SQL, script allows only \'oxmysql\' or \'mysql-async\'')https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
print('^2[dz-drone] ^1Wrong SQL, script allows only \'oxmysql\' or \'mysql-async\'')https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
print('^2[dz-drone] ^1Wrong SQL, script allows only \'oxmysql\' or \'mysql-async\'')https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
endhttps://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
endhttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
elsehttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
TargetInfo = {https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
Title = GetPlayerName(Target),https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
SubTitle = "Target ID: "..Target,https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
Infos = {}https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
}https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
TriggerClientEvent('dz-drone:client:TargetPlayerInformations', src, TargetInfo)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
endhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
end)https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
RegisterNetEvent('dz-drone:server:RemoveItem', function(item)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
local src = sourcehttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
local ItemName = itemhttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
if ItemName == nil then return endhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
if (Config.Framework == "qbcore") and (QBCore ~= nil) thenhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
local Player = QBCore.Functions.GetPlayer(src)https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
Player.Functions.RemoveItem(ItemName, 1)https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items[ItemName], "remove", 1)https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
elseif (Config.Framework == "esx") and (ESX ~= nil) thenhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
local Player = ESX.GetPlayerFromId(src)https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
Player.removeInventoryItem(ItemName, 1)https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
endhttps://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
end)https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
-- ESX.RegisterCommand('drone', 'admin', function(xPlayer, args, showError)https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
-- if (tonumber(args.droneId) == 2) thenhttps://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
-- xPlayer.triggerEvent('dz-drone:client:InitiateDroneLSPD')https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
-- elsehttps://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
-- xPlayer.triggerEvent('dz-drone:client:InitiateDrone')https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
-- endhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
-- end, false, {help = 'Initiate Drone', arguments = {https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
-- {name = 'droneId', help = 'Drone Type : 1 = Normal Drone / 2 = LSPD Drone', type = 'number'},https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
-- }})https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
|