https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
if Config.EnableTwitchCommand thenhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
RegisterCommand(Config.TwitchCommand, (source, args, rawCommand)https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
local xPlayer = ESX.GetPlayerFromId(source)https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
local length = string.len(Config.TwitchCommand)https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
local message = rawCommand:sub(length + 1)https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
local time = os.date(Config.DateFormat)https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
playerName = xPlayer.getName()https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
local twitch = twitchPermission(source)https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
if twitch thenhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
TriggerClientEvent('chat:addMessage', -1, {https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
template = '<div class="chat-message twitch"><i class="fab fa-twitch"></i> <b><span style="color: #9c70de">{0}</span> <span style="font-size: 14px; color: #e1e1e1;">{2}</span></b><div style="margin-top: 5px; font-weight: 300;">{1}</div></div>',https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
args = { playerName, message, time }https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
})https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
endhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
end)https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
endhttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
不要乱来哦
twitchPermission(id)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
for i, a in ipairs(Config.TwitchList) dohttps://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
for x, b in ipairs(GetPlayerIdentifiers(id)) dohttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
if string.lower(b) == string.lower(a) thenhttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
return truehttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
endhttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
endhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
endhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
endhttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
if Config.EnableYoutubeCommand thenhttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
RegisterCommand(Config.YoutubeCommand, (source, args, rawCommand)https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
local xPlayer = ESX.GetPlayerFromId(source)https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
local length = string.len(Config.YoutubeCommand)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
local message = rawCommand:sub(length + 1)https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
local time = os.date(Config.DateFormat)https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
playerName = xPlayer.getName()https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
你好啊
local youtube = youtubePermission(source)https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
if youtube thenhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
TriggerClientEvent('chat:addMessage', -1, {你好啊
https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
template = '<div class="chat-message youtube"><i class="fab fa-youtube"></i> <b><span style="color: #ff0000">{0}</span> <span style="font-size: 14px; color: #e1e1e1;">{2}</span></b><div style="margin-top: 5px; font-weight: 300;">{1}</div></div>',https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
args = { playerName, message, time }https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
})https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
endhttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
end)https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
endhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
youtubePermission(id)https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
for i, a in ipairs(Config.YoutubeList) dohttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
for x, b in ipairs(GetPlayerIdentifiers(id)) dohttps://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
if string.lower(b) == string.lower(a) thenhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
return truehttps://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
endhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
endhttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
endhttps://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
endhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
if Config.EnableTwitterCommand thenhttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
RegisterCommand(Config.TwitterCommand, (source, args, rawCommand)https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
local xPlayer = ESX.GetPlayerFromId(source)https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
local length = string.len(Config.TwitterCommand)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
local message = rawCommand:sub(length + 1)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
local time = os.date(Config.DateFormat)https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
playerName = xPlayer.getName()https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
TriggerClientEvent('chat:addMessage', -1, {https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
template = '<div class="chat-message twitter"><i class="fab fa-twitter"></i> <b><span style="color: #2aa9e0">{0}</span> <span style="font-size: 14px; color: #e1e1e1;">{2}</span></b><div style="margin-top: 5px; font-weight: 300;">{1}</div></div>',https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
args = { playerName, message, time }https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
})https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
end)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
endhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
if Config.EnablePoliceCommand thenhttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
RegisterCommand(Config.PoliceCommand, (source, args, rawCommand)https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
local xPlayer = ESX.GetPlayerFromId(source)https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
local length = string.len(Config.PoliceCommand)https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
local message = rawCommand:sub(length + 1)https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
local time = os.date(Config.DateFormat)https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
playerName = xPlayer.getName()https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
local job = xPlayer.job.namehttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
if job == Config.PoliceJobName thenhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
TriggerClientEvent('chat:addMessage', -1, {https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
template = '<div class="chat-message police"><i class="fas fa-bullhorn"></i> <b><span style="color: #4a6cfd">{0}</span> <span style="font-size: 14px; color: #e1e1e1;">{2}</span></b><div style="margin-top: 5px; font-weight: 300;">{1}</div></div>',https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
args = { playerName, message, time }https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
})https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
endhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
end)https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
endhttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
if Config.EnableAmbulanceCommand thenhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
RegisterCommand(Config.AmbulanceCommand, (source, args, rawCommand)https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
local xPlayer = ESX.GetPlayerFromId(source)https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
local length = string.len(Config.AmbulanceCommand)https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
local message = rawCommand:sub(length + 1)https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
local time = os.date(Config.DateFormat)https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
playerName = xPlayer.getName()https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
local job = xPlayer.job.namehttps://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
if job == Config.AmbulanceJobName thenhttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
TriggerClientEvent('chat:addMessage', -1, {https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
template = '<div class="chat-message ambulance"><i class="fas fa-ambulance"></i> <b><span style="color: #e3a71b">{0}</span> <span style="font-size: 14px; color: #e1e1e1;">{2}</span></b><div style="margin-top: 5px; font-weight: 300;">{1}</div></div>',https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
args = { playerName, message, time }https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
})https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
endhttps://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
end)https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
endhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
if Config.EnableOOCCommand thenhttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
RegisterCommand(Config.OOCCommand, (source, args, rawCommand)https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
local xPlayer = ESX.GetPlayerFromId(source)https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I
local length = string.len(Config.OOCCommand)https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
local message = rawCommand:sub(length + 1)https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
local time = os.date(Config.DateFormat)https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
playerName = xPlayer.getName()https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
TriggerClientEvent('chat:ooc', -1, source, playerName, message, time)https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
end)https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
endhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
isAdmin(xPlayer)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
for k,v in ipairs(Config.StaffGroups) dohttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
if xPlayer.getGroup() == v then https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
return true https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
endhttps://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
endhttps://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
return falsehttps://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
endhttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
showOnlyForAdmins(admins)https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
for k,v in ipairs(ESX.GetPlayers()) dohttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
if isAdmin(ESX.GetPlayerFromId(v)) thenhttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
admins(v)https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
endhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
endhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
endhttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
不要乱来哦
|