Advertisement
VerTical_Dev

BO2, ToggleScript

Feb 13th, 2017
881
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.57 KB | None | 0 0
  1. /*
  2.         __     __                _____   _                  _
  3.         \ \   / /   ___   _ __  |_   _| (_)   ___    __ _  | |
  4.          \ \ / /   / _ \ | '__|   | |   | |  / __|  / _` | | |
  5.           \ V /   |  __/ | |      | |   | | | (__  | (_| | | |
  6.            \_/     \___| |_|      |_|   |_|  \___|  \__,_| |_|
  7.            
  8.            //YouTube: VerTical C#
  9.  
  10. */
  11.  
  12. //Example Call: self thread ToggleScript( "Godmode", self.Godmode );
  13.  
  14. ToggleScript( Function, var )
  15. {
  16.     if( Function )
  17.     {
  18.         if( var )
  19.             self iprintln( Function+" ^2ON" );
  20.         else
  21.             self iprintln( Function+" ^1OFF" );
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement