Guest User

Untitled

a guest
Jun 26th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Instructions for your Kheyre co. product.
  2. Open up your main.cs and go to the bottom, place this code down there.
  3.  
  4.  
  5.  
  6.  
  7.  
  8. function scrollInventory(%a)
  9. {
  10.  if (%a < 0)
  11. {
  12.  inventoryUp(1);
  13. schedule(0,10, inventoryUp, 0);
  14. }
  15. else
  16. {
  17. inventoryDown(1);
  18. schedule(0,10, inventoryDown, 0);
  19. }
  20. };
  21.  
  22.  
  23. moveMap.bind(mouse0, "zaxis", scrollInventory);
  24.  
  25.  
  26.  
  27. This one is the "Toggle the inventory so you dont see it" script, you can still scroll through it though.
  28.  
  29.  
  30.  
  31. function toggleinv(%a)
  32.     {
  33.      if (%a)
  34.         {
  35.          inventoryGui.setVisible(!inventoryGui.isVisible());
  36.         }
  37. }
  38. moveMap.bind(keyboard, "b", toggleinv);
Advertisement
Add Comment
Please, Sign In to add comment