mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:27:34 +00:00
refactor: -- format: multiline
This commit is contained in:
parent
90de28575c
commit
aeca5e4de9
|
@ -1,5 +1,17 @@
|
|||
local function filterMessage(reason)
|
||||
local Message = {"\n----------------------------------------\n", "You cannot join this server", "", "Reason: " .. (reason && reason || "none"), "Help URL: " .. (gmInte.config.supportLink && gmInte.config.supportLink || "none"), "", "Have a nice day", "\n----------------------------------------\n", "Service provided by Gmod Integration",}
|
||||
// format: multiline
|
||||
local Message = {
|
||||
"\n----------------------------------------\n",
|
||||
"You cannot join this server",
|
||||
"",
|
||||
"Reason: " .. (reason && reason || "none"),
|
||||
"Help URL: " .. (gmInte.config.supportLink && gmInte.config.supportLink || "none"),
|
||||
"",
|
||||
"Have a nice day",
|
||||
"\n----------------------------------------\n",
|
||||
"Service provided by Gmod Integration",
|
||||
}
|
||||
|
||||
for k, v in pairs(Message) do
|
||||
Message[k] = "\n" .. v
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user