Failed to initialize plugin 'Kits v3.2.1' (NullReferenceException: Object reference not set to an instance of an object)
When loadingAnyone else have this?
Rust-Kits
Moved
Total Downloads: 70,199 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018
- 4.96216/5, 185 likes
-
So absolut what would i type to open another UI menu ? how would vips open the vip menu ?
-
How to do this? -
Everything is working fine, but I'm still able to redeem kit even if I don't have enought inventory space...
And I know why - you are just checking (kit.items.Count > (36 - player.inventory.AllItems().Count()))
But what if the kit contains only 3 weapon, and I have 5 empty cloth slots, and zero in belt and main?
-----------EDIT--------------
I've found another problem. Calling /kit <kitname> while using gui creates a mess. It gives you a kit, but also opens the menu without mouse active....Last edited by a moderator: Feb 28, 2017 -
-
Can someone tell me how i make "Vip" kits with Authlevel or Permission idk how i work
I want kits that just can use my friend and not all player how it work??? -
How do i change the text colour from white on the ui screen once ive added a kit to the menu?
Last edited by a moderator: Feb 28, 2017 -
- Create a new kit -- /kit add <kitname>
- Start editing your new kit(I'm not sure if it happens automaticly after adding new kit) -- /kit edit <kitname>
- Add items for the kit (would copy your whole inventory to kit) /kit items
- Assign authlevel(if your friend is admin) or permission to your kit /kit authlevel <1|2> AND /kit permission <permission_name>
- Grant permission to your friend -- grant user YOUR_FRIEND_ID kits.<permission_name>
Code:/kit add test /kit edit test /kit items /kit authlevel 2 /kit permission test ownerid 76561198002418971 "Name" "Description" // giving user authlevel 2 grant user 76561198002418971 kits.test
-
[DOUBLEPOST=1488306188][/DOUBLEPOST] -
-
-
-
@Absolut is there a way to create separate menus for certain kits
IE: section for clothing, Section for tools, Section for food -
-
-
-
-
So example: You make an NPC and it has an id of 1245151512
You go into Kits.json and add this...
"NPC - GUI Kits": {
"0": { ---Existing
"description": "<color=red>VIPs Kits</color>",
"kits": [
"kit1",
"kit3",
"armor",
"attachments",
"survey",
"red",
"tnt",
"m249",
"build3",
"vip3",
"build1",
"firearrows"
]
},
"1245151512": { ---> New....
"description": "MAKE THIS WHAT YOU WANT",
"kits": []
}
},
then from inside the game you can just use the "Add Kits" button while interacting with the NPC to add the kits you want...
Does that make sense? -