Command to give a kit (with console)Solved

Hello!

I don't find the command to give a kit (with console F1).
For an items : inventory.giveto $player.name ITEMS
but for a kit?

(It's for use the cmd with GUIShop plugin... Since I can not buy an item with a skin, I would like to pass it with a kit)

Sorry for my english.

Greetings!

> but for a kit?

No commands :)

Oh :(

And using the Give plugin (https://umod.org/plugins/give), Here in my example, I have :

IN KITS :
- oxide.grant group admin kits.admin
- my json :

"boite": {
"name": "boite",
"description": null,
"max": 0,
"cooldown": 0.0,
"authlevel": 2,
"hide": false,
"npconly": false,
"permission": "kits.boite",
"image": null,
"building": null,
"items": [
{
"itemid": -180129657,
"container": "main",
"amount": 1,
"skinid": 885103417,
"weapon": false,
"blueprintTarget": 0,
"mods": []
}
]
}

- oxide.grant group admin kits.boite
- /kit
- Add Kit ==> Boite

IN GIVE :

- oxide.grant group admin givekit
- server.writecfg
- server.save
- oxide.reload Kits
- oxide.reload Give

And when i make the command : /givekit <boite> [Chevreuil]
it puts me: "Chevreuil is not a valid kit"

an idea? :s

@Wulf move thread to https://umod.org/community/55-give
The command is a bit swapped right now, it should be "givekit KITNAME PLAYERNAME", but right now you'd need to use it as "givekit PLAYERNAME KITNAME" until it is fixed in the plugin.
It's work!! Thanks :)
Locked automatically