This commit is contained in:
lifestorm
2024-08-04 22:55:00 +03:00
parent 0e770b2b49
commit 94063e4369
7342 changed files with 1718932 additions and 14 deletions

38
lua/imagetool/sv_net.lua Normal file
View File

@@ -0,0 +1,38 @@
--[[
| 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/
--]]
--[[
© AsterionStaff 2022.
This script was created from the developers of the AsterionTeam.
You can get more information from one of the links below:
Site - https://asterion.games
Discord - https://discord.gg/CtfS8r5W3M
developer(s):
Selenter - https://steamcommunity.com/id/selenter
——— Chop your own wood and it will warm you twice.
]]--
util.AddNetworkString("image.SendImage") -- net с отправкой картинки
util.AddNetworkString("image.RemoveImage") -- net с удалением картинки
util.AddNetworkString("image.RemoveImageAll") -- net с удалением всех картинок
util.AddNetworkString("image.SaveImage") -- net с сохранением картинки
-- Команда которая удаляет все картинки с карты
concommand.Add("imagetool_delete_all", function(client)
if !client:IsSuperAdmin() then
return client:ChatPrint(ImageTool.prefix .. " You don't have access!")
end
ImageTool:RemoveImageAll()
end)