mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
45
gamemodes/ixhl2rp/schema/cl_schema.lua
Normal file
45
gamemodes/ixhl2rp/schema/cl_schema.lua
Normal file
@@ -0,0 +1,45 @@
|
||||
--[[
|
||||
| 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/
|
||||
--]]
|
||||
|
||||
|
||||
surface.CreateFont("ImportantDisplayMessage", {
|
||||
font = "BudgetLabel",
|
||||
extended = false,
|
||||
size = SScaleMin(16 / 3),
|
||||
weight = 550,
|
||||
outline = true,
|
||||
})
|
||||
|
||||
if (ix.item.base["base_weapons"]) then
|
||||
local ITEM = ix.item.base["base_weapons"]
|
||||
function ITEM:PaintOver(item, w, h)
|
||||
if (item:GetData("equip")) then
|
||||
surface.SetDrawColor(110, 255, 110, 100)
|
||||
surface.DrawOutlinedRect(1, 1, w - 2, h - 2)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
net.Receive("ixInvTypeSearchChoice", function()
|
||||
local options = {}
|
||||
options["View Equip Inventory"] = function()
|
||||
net.Start("ixInvTypeSearchChoice")
|
||||
net.WriteString("eqInv")
|
||||
net.SendToServer()
|
||||
end
|
||||
|
||||
options["View Default Inventory"] = function()
|
||||
net.Start("ixInvTypeSearchChoice")
|
||||
net.WriteString("normInv")
|
||||
net.SendToServer()
|
||||
end
|
||||
|
||||
ix.menu.Open(options, false)
|
||||
end)
|
||||
Reference in New Issue
Block a user