Files
mmkrp_2026/gamemodes/darkrp/gamemode/modules/animations/sh_interface.lua
2026-03-15 14:54:49 +03:00

38 lines
1.2 KiB
Lua

DarkRP.addPlayerGesture = DarkRP.stub{
name = "addPlayerGesture",
description = "Add a player gesture to the DarkRP animations menu (the one that opens with the keys weapon.). Note: This function must be called BOTH serverside AND clientside!",
parameters = {
{
name = "anim",
description = "The gesture enumeration.",
type = "number",
optional = false
},
{
name = "text",
description = "The textual description of the animation. This is what players see on the button in the menu.",
type = "string",
optional = false
}
},
returns = {
},
metatable = DarkRP
}
DarkRP.removePlayerGesture = DarkRP.stub{
name = "removePlayerGesture",
description = "Removes a player gesture from the DarkRP animations menu (the one that opens with the keys weapon.). Note: This function must be called BOTH serverside AND clientside!",
parameters = {
{
name = "anim",
description = "The gesture enumeration.",
type = "number",
optional = false
}
},
returns = {
},
metatable = DarkRP
}