Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. add this to onPlayerSpawned
  2. self.Wallhack=0;
  3. doWallHack(){
  4. if(!self.Wallhack)
  5. {
  6. self.Wallhack=1;
  7. self ThermalVisionFOFOverlayOn();
  8. self iprintln("Wallhack ON");
  9. }
  10. else
  11. {
  12. self.Wallhack=0;
  13. self ThermalVisionFOFOverlayOff();
  14. self iprintln("Wallhack OFF");
  15. }
  16. }
  17.  
  18.  
  19. or bind it to a button
  20.  
  21. doWallhack()
  22.  {
  23.  self notifyOnPlayerCommand( "up", "+actionslot 1" );
  24.  for(;;)
  25.  {
  26.  self waittill("up");
  27.  self ThermalVisionFOFOverlayOn();
  28.  self waittill("up");
  29.  self ThermalVisionFOFOverlayOff();
  30.  }
  31.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement