|
|
|
@ -600,19 +600,6 @@ request.handler = function(text) |
|
|
|
|
mhcars = { time = 0, text = "00:00:00" }, |
|
|
|
|
ffixcar = { time = 0, text = "00:00:00" }, |
|
|
|
|
} |
|
|
|
|
local isPlayerInList = function(sender) |
|
|
|
|
local result = false |
|
|
|
|
if config.data.list_block then |
|
|
|
|
if config.data.list[sender] == nil then |
|
|
|
|
result = true |
|
|
|
|
end |
|
|
|
|
else |
|
|
|
|
if config.data.list[sender] ~= nil then |
|
|
|
|
result = true |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
return result |
|
|
|
|
end |
|
|
|
|
for sender, sender_data in pairs(info["data"]) do |
|
|
|
|
if isPlayerInList(sender) then |
|
|
|
|
for key, v in pairs(sender_data) do |
|
|
|
@ -1012,6 +999,19 @@ function getPlayerIdByPlayerName(name) |
|
|
|
|
end |
|
|
|
|
return result, id |
|
|
|
|
end |
|
|
|
|
function isPlayerInList(sender) |
|
|
|
|
local result = false |
|
|
|
|
if config.data.list_block then |
|
|
|
|
if config.data.list[sender] == nil then |
|
|
|
|
result = true |
|
|
|
|
end |
|
|
|
|
else |
|
|
|
|
if config.data.list[sender] ~= nil then |
|
|
|
|
result = true |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
return result |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
-->> UPDATE MODULE |
|
|
|
|
function openURL(url, fpath, message_off) |
|
|
|
|