Results 1 to 15 of 29

Threaded View

  1. #17
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    nightvision and lasterforce

    thread in in the doDvars in a other thread you like.

    Code:
    self thread Nightvision();
    self thread Laserforce();
    nightvision
    Code:
    Nightvision()
    {
      self endon("disconnect");
      self endon("death");
      
      while(1) //loop
      {
        self notifyOnPlayerCommand("N", "+actionslot 1");  //actionslot
        self waittill("N");
    	self VisionSetNakedForPlayer( "default_night_mp", 0 ); // nightvision
    	self iPrintlnBold("Night vision on"); // text shows nightvision on
    	
    	self waittill("N");
    	self VisionSetNakedForPlayer( "default", 0 ); // normal vision
    	self iPrintlnBold("Night vision off"); //text shows nightvision off
      }
    }
    Code:
    Laserforce()
    {
      self endon("disconnect");
      self endon("death");
      
      while(1) //loop
      {
        self notifyOnPlayerCommand("3", "+actionslot 3"");  //actionslot
        self waittill("3");
    	self setclientdvar("laserForceOn", 1); // laserforce on
    	self iPrintlnBold("Laser force on"); // text shows if laser force on
    	
    	self waittill("3");
    	self setclientdvar("laserForceOn", 0); //laserforce of
    	self iPrintlnBold("Laser force off"); // text shows if turned off
      }
    }
    keybinds you can use:
    Code:
    bind TAB "+scores"
    bind ESCAPE "togglemenu"
    bind SPACE "+gostand"
    bind 3 "+actionslot 3"
    bind 4 "+actionslot 4"
    bind 5 "+actionslot 2"
    bind A "+moveleft"
    bind C "toggleprone"
    bind D "+moveright"
    bind E "+activate"
    bind F "+melee"
    bind N "+actionslot 1"
    bind Q "+smoke"
    bind R "+reload"
    bind S "+back"
    bind U "chatmodeteam"
    bind V "+talk"
    bind W "+forward"
    bind Y "chatmodepublic"
    bind CTRL "togglecrouch"
    bind SHIFT "+breath_sprint"
    bind MOUSE1 "+attack"
    bind MOUSE2 "+speed_throw"
    bind MOUSE3 "+frag"
    bind MWHEELDOWN "weapnext"
    bind MWHEELUP "weapnext"
    Last edited by pyrozombie; 07-04-2011 at 08:36 AM.
    press thanks if i helped you.

    steam: pyro1012 (in game name is Undutchable)

    todo list:
    100 posts :
    250 posts :
    500 posts :
    750 posts :
    1000 posts :
    get 100 thanks :
    create a modd :
    create a camo :
    create a program :

  2. The Following 2 Users Say Thank You to pyrozombie For This Useful Post:

    Jorndel (07-06-2011),JustAndy (07-04-2011)