RegisterNetEvent('esx:setJob')https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
AddEventHandler('esx:setJob', function(job)https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
if Config.RequireJob then哈哈
if job.name == 'delivery' and blip == nil thenhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
blip = AddBlipForCoord(Config.JobClock)https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
SetBlipSprite(blip, Config.Blip.Sprite)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
SetBlipScale(blip, Config.Blip.Scale)https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
SetBlipColour(blip, Config.Blip.Color)https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
SetBlipAsShortRange(blip, true)https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
BeginTextCommandSetBlipName('STRING')https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
AddTextComponentSubstringPlayerName('Delivery Job')https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
EndTextCommandSetBlipName(blip)https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
elseif job.name ~= 'delivery' and blip ~= nil thenhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
RemoveBlip(blip)https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
blip = nilhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
endhttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
endhttps://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
end)https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
|