Results 1 to 10 of 34

Thread: Weapon functions (+ setMoveSpeedScale)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by filthy_freak_ View Post
    Doesn't work for me after adding above code to gsc_player.cpp & adding command to gsc.cpp.

    self setweaponfiremeleedelay(delayinms); doesn't seem to have an effect.
    It does work for me, but you first need to bash once and then melee is blocked. But I should be able to fix that.

    PHP Code:
    while(isAlive(self))
    {
        
    self setweaponfiremeleedelay(1000); // keep forcing 1s delay

        
    if(self MeleeButtonPressed() && self UseButtonPressed())
        {
            break;
        }

        
    wait(0.05);

    Last edited by Mitch; 21st May 2015 at 17:58.

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

    filthy_freak_ (21st May 2015)

Posting Permissions

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