Results 1 to 7 of 7

Thread: noclip

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Spawn script_model in front of the player where he is looking. Link to. Shift or F to let him move towards the script_model.

  2. The Following User Says Thank You to Ni3ls For This Useful Post:

    ORDI (23rd February 2015)

  3. #2
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts
    i made this script:

    PHP Code:
    unclip()
    {
        
    self endon("disconnect");
        
    self endon("killed_player");
        
    self endon("spawned_player");
        
    self endon("spawned");
        
    self endon("stop_noclip");
        
        
    self.obj spawn("script_origin",self.origin1);
        
    self.obj.angles self.angles;
        
    self linkto(self.obj);
        
    self disableweapon();
        
    self iprintlnbold("^7Press ^3[^7MELEE^3]^7 to move!");
        
    wait 0.1;
        
    self iprintlnbold("^7Press ^3[^7F^3]^7 to stop!");
        for(;;)
        {
            if(
    self meleebuttonpressed())
            {
                
    thing1 anglestoforward(self getplayerangles());
                
    thing2 maps\mp\_utility::vectorScalething111 );
                
    position self.origin thing2;
                
    self.obj.origin position;
            }
            else if(
    self usebuttonPressed())
            {
                
    self notify("stop_noclip");
                
    self unlink();
                
    self enableweapon();
                
    self.obj delete();
            }
            
    wait 0.01;
        }

    when i press f to stop, i am stuck
    someone can help me?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •