mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
24
gamemodes/darkrp/plugins/extendedchardesc/sh_commands.lua
Normal file
24
gamemodes/darkrp/plugins/extendedchardesc/sh_commands.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
--[[
|
||||
| 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/
|
||||
--]]
|
||||
|
||||
local ix = ix
|
||||
local bit = bit
|
||||
local netstream = netstream
|
||||
local hook = hook
|
||||
|
||||
local PLUGIN = PLUGIN
|
||||
|
||||
ix.command.Add("EditDesc", {
|
||||
description = "Modifier la description du personnage.",
|
||||
arguments = bit.bor(ix.type.player, ix.type.optional),
|
||||
OnRun = function(self, client, target)
|
||||
netstream.Start(client, "ixExtendedDescription", target or client, hook.Run("CanPlayerEditDescription", client, target))
|
||||
end
|
||||
})
|
||||
Reference in New Issue
Block a user