Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Instructions for your Kheyre co. product.
- Open up your main.cs and go to the bottom, place this code down there.
- function scrollInventory(%a)
- {
- if (%a < 0)
- {
- inventoryUp(1);
- schedule(0,10, inventoryUp, 0);
- }
- else
- {
- inventoryDown(1);
- schedule(0,10, inventoryDown, 0);
- }
- };
- moveMap.bind(mouse0, "zaxis", scrollInventory);
- This one is the "Toggle the inventory so you dont see it" script, you can still scroll through it though.
- function toggleinv(%a)
- {
- if (%a)
- {
- inventoryGui.setVisible(!inventoryGui.isVisible());
- }
- }
- moveMap.bind(keyboard, "b", toggleinv);
Advertisement
Add Comment
Please, Sign In to add comment