mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-26 13:14:45 +00:00
feat(server/commands): skin
This commit is contained in:
1 parent
0ee9700777
commit
09c9ca254d
1 file changed
+14
@@ -161,3 +161,17 @@ lib.addCommand("setgroup", {
|
|||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
lib.addCommand("skin", {
|
||||||
|
help = "Admin command, set player into character clothing menu.",
|
||||||
|
restricted = "group.admin",
|
||||||
|
params = {
|
||||||
|
{
|
||||||
|
name = "target",
|
||||||
|
type = "playerId",
|
||||||
|
help = "Target player's server id"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, function(source, args, raw)
|
||||||
|
TriggerClientEvent("ND:clothingMenu", args.target)
|
||||||
|
end)
|
||||||
|
|
||||||
Reference in new issue
Block a user