This commit is contained in:
lifestorm
2024-08-04 23:12:27 +03:00
parent 8064ba84d8
commit 9c918c46e5
7081 changed files with 2173485 additions and 14 deletions

View File

@@ -0,0 +1,118 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local ix = ix
local CAMI = CAMI
local LocalPlayer = LocalPlayer
local PLUGIN = PLUGIN
PLUGIN.name = "Better Observer"
PLUGIN.author = "Chessnut & Gr4Ss"
PLUGIN.description = "Adds on to the no-clip mode to prevent intrusion. Edited for WN by Gr4Ss."
ix.plugin.SetUnloaded("observer", true)
CAMI.RegisterPrivilege({
Name = "Helix - Observer",
MinAccess = "admin"
})
CAMI.RegisterPrivilege({
Name = "Helix - Observer Extra ESP",
MinAccess = "superadmin"
})
ix.option.Add("observerTeleportBack", ix.type.bool, true, {
bNetworked = true,
category = "observer",
hidden = function()
return !CAMI.PlayerHasAccess(LocalPlayer(), "Helix - Observer", nil)
end
})
ix.option.Add("observerESP", ix.type.bool, true, {
category = "observer",
hidden = function()
return !CAMI.PlayerHasAccess(LocalPlayer(), "Helix - Observer", nil)
end
})
ix.option.Add("steamESP", ix.type.bool, true, {
category = "observer",
hidden = function()
return !CAMI.PlayerHasAccess(LocalPlayer(), "Helix - Observer", nil)
end
})
ix.option.Add("mapscenesESP", ix.type.bool, false, {
category = "observer",
hidden = function()
return !CAMI.PlayerHasAccess(LocalPlayer(), "Helix - Observer", nil)
end
})
ix.option.Add("alwaysObserverLight", ix.type.bool, true, {
category = "observer",
hidden = function()
return !CAMI.PlayerHasAccess(LocalPlayer(), "Helix - Observer")
end,
bNetworked = true
})
ix.option.Add("observerFullBright", ix.type.bool, false, {
category = "observer",
hidden = function()
return !CAMI.PlayerHasAccess(LocalPlayer(), "Helix - Observer")
end,
bNetworked = true
})
ix.option.Add("observerPlayerHighlight", ix.type.bool, true, {
bNetworked = true,
category = "observer",
hidden = function()
return !CAMI.PlayerHasAccess(LocalPlayer(), "Helix - Observer", nil)
end
})
ix.util.Include("cl_hooks.lua")
ix.util.Include("cl_plugin.lua")
ix.util.Include("sv_plugin.lua")
ix.lang.AddTable("english", {
optSteamESP = "Wyświetla dodatkowe informacje w Admin ESP",
optdSteamESP = "Wyświetla SteamID gracza oraz jego Zdrowie i Pancerz na Admin ESP",
optMapscenesESP = "Wyświetla Sceny Mapy ESP",
optdMapscenesESP = "Wyświetla lokalizacje Scen Mapy w Admin ESP.",
optAlwaysObserverLight = "Zawsze włączaj światło Obserwatora",
optdAlwaysObserverLight = "Włącza światło Obserwatora automatycznie przejściu do trybu Obserwatora. W przeciwnym razie będzie podążać za twoją latarką. Światło nadal można wyłączyć ręcznie.",
optObserverFullBright = "Full Bright jako światło Obserwatora",
optdObserverFullBright = "Oświetlenie całej mapy po włączeniu światła Obserwatora.",
optObserverPlayerHighlight = "Podświetl gracza",
optdObserverPlayerHighlight = "Czy gracze dostają aura podświetlającą ich modele"
})
ix.lang.AddTable("spanish", {
optdSteamESP = "Muestra el SteamID de un jugador, su salud/armadura en el admin ESP",
optdAlwaysObserverLight = "Enciende la luz del observer automáticamente al entrar en él. De lo contrario seguirá tu linterna. Se puede apagar manualmente.",
optAlwaysObserverLight = "Encender siempre la luz del observer",
optSteamESP = "Muestra la información extra del Admin ESP",
optdMapscenesESP = "Mostrar las localizaciones de Escenarios del Mapa en el Admin-ESP.",
optMapscenesESP = "Mostrar el ESP del Escenario"
})
ix.lang.AddTable("polish", {
optSteamESP = "Wyświetla dodatkowe informacje w Admin ESP",
optdSteamESP = "Wyświetla SteamID gracza oraz jego Zdrowie i Pancerz na Admin ESP",
optMapscenesESP = "Wyświetla Sceny Mapy ESP",
optdMapscenesESP = "Wyświetla lokalizacje Scen Mapy w Admin ESP.",
optAlwaysObserverLight = "Zawsze włączaj światło Obserwatora",
optdAlwaysObserverLight = "Włącza światło Obserwatora automatycznie przejściu do trybu Obserwatora. W przeciwnym razie będzie podążać za twoją latarką. Światło nadal można wyłączyć ręcznie.",
optObserverFullBright = "Full Bright jako światło Obserwatora",
optdObserverFullBright = "Oświetlenie całej mapy po włączeniu światła Obserwatora.",
optObserverPlayerHighlight = "Podświetl gracza",
optdObserverPlayerHighlight = "Czy gracze dostają aura podświetlającą ich modele"
})