mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
41 lines
1.2 KiB
Lua
41 lines
1.2 KiB
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/
|
|
--]]
|
|
|
|
PLUGIN.name = "Model Animations Player"
|
|
PLUGIN.description = "Adds an interactable list of animations you can play on your character's model."
|
|
PLUGIN.author = "Mango"
|
|
|
|
ix.lang.AddTable("english", {
|
|
MAcommandDesc = "Wyświetla menu ze wszystkimi animacjami modelu postaci, umożliwiając ich łatwe odtwarzanie.",
|
|
MAresetBtn = "RESET",
|
|
MAsubmitBtn = "URUCHOM ANIMACJĘ"
|
|
})
|
|
|
|
ix.lang.AddTable("polish", {
|
|
MAcommandDesc = "Wyświetla menu ze wszystkimi animacjami modelu postaci, umożliwiając ich łatwe odtwarzanie.",
|
|
MAresetBtn = "RESET",
|
|
MAsubmitBtn = "URUCHOM ANIMACJĘ"
|
|
})
|
|
|
|
CAMI.RegisterPrivilege({
|
|
Name = "Helix - " .. PLUGIN.name,
|
|
MinAccess = "admin"
|
|
})
|
|
|
|
ix.command.Add("modelAnims", {
|
|
description = L"MAcommandDesc",
|
|
adminOnly = true,
|
|
OnRun = function(self, client)
|
|
netstream.Start(client, "ixModelAnimationsShowMenu")
|
|
end
|
|
})
|
|
|
|
ix.util.Include("cl_hooks.lua")
|
|
ix.util.Include("sv_hooks.lua") |