DragonYTPastesWork

cmd2 commands

Aug 14th, 2020
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. cmd2 commands:
  2.  
  3. cmd2.BindKeyPresses(name, func, ...)
  4. Checks if the player pressed the given keys(...) at the same time.
  5.  
  6. cmd2.UnbindKeyPresses(name)
  7. Unbinds the key event.
  8.  
  9. cmd2.abbriviateNum(num)
  10. Turns a number into a much easier way to read the number (e.p 12967 turns into 12.9K)
  11.  
  12. cmd2.MakeNewMessage(text, duration, bgcolor3, textcolor3, transparency, textfont)
  13. Makes a gui that fills the screen and it has the text in the middle and it stays there for how long you set duration.
  14.  
  15. cmd2.MakeNewHintMsg(text, duration, bgcolor3, textcolor3, transparency, textfont)
  16. Makes a small bar at the top of your screen and it acts the same as MakeNewMessage
  17.  
  18. cmd2._VERSION()
  19. prints the current version of cmd2
  20.  
  21. cmd2._credits()
  22. prints the credits
Advertisement
Add Comment
Please, Sign In to add comment