Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disable Picking Guns up
#1
Code:
DisablePickingGuns()
{
    self waittill( "spawned_player" );
    
    for(;;)
    {
    curwep = self getCurrentWeapon();
    if(self UseButtonPressed())
    {
        wait 1;
        wepchange = self getCurrentWeapon();
        if(curwep != wepchange)
        {
            self DropItem( wepchange );
        }
    }
    wait 0.1;
}

}

Put this OnPlayerSpawned()

Code:
self thread DisablePickingGuns();

Credits: Master131
Reply

#2
Credits to me? Big Grin
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#3
master131 Wrote:Credits to me? Big Grin

Srry i used your code originally posted on MPGH and partially the one i had b4 your post because yours had and error.
Ill add ya
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Disable Planting on Bomb clemi555 4 3,468 11-04-2013, 07:59
Last Post: clemi555
  Help How to disable auto balance? .sepultura. 3 4,341 10-07-2013, 19:44
Last Post: Nekochan
  [Release] Golden guns and all titles AdamOwnz 34 24,797 03-12-2013, 03:12
Last Post: REAB66
  [Release] Sprint Disable Plugin for version 1.9.446 blueberry9 5 4,411 01-21-2013, 22:00
Last Post: thanatos
Question Help My guns 99IRock 4 4,220 11-30-2012, 14:52
Last Post: 99IRock
  Help Akimbo guns 99IRock 5 5,274 11-18-2012, 11:36
Last Post: jari333
  Help Disable fall damage Puffiamo 5 4,848 10-23-2012, 14:50
Last Post: Puffiamo
  How to disable "Choose Class"? DidUknowiPwn 8 5,659 10-07-2012, 21:09
Last Post: JariZ
Wink how to add new guns meisking 8 5,806 09-21-2012, 20:10
Last Post: banz
  [Request] Disable Friendly Fire and Enable Kill Cam on hardcore mode. Dumas 15 10,791 09-10-2012, 14:45
Last Post: OzonE

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.