Files
wnsrc/gamemodes/darkrp/plugins/wn7_gestures/cl_plugin.lua
lifestorm 6a58f406b1 Upload
2024-08-04 23:54:45 +03:00

25 lines
645 B
Lua

--[[
| 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/
--]]
net.Receive("ixGestureAnimation", function()
local client = net.ReadEntity()
if (!IsValid(client)) then return end
local sequence = net.ReadString()
client:AddVCDSequenceToGestureSlot(GESTURE_SLOT_VCD, sequence, 0, true)
end)
net.Receive("ixOpenHandSignalMenu", function()
if IsValid(ix.gui.handsignalMenu) then ix.gui.handsignalMenu:Remove() end
vgui.Create("ixGestureWheel")
end)