Results 1 to 2 of 2
  1. #1
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed

    Help with anti weapondrop

    [php]while(1)
    {
    curwep = self getCurrentWeapon();
    if(self UseButtonPressed())
    {
    wepchange = self getCurrentWeapon();
    if(curwep != wepchange)
    {
    self DropItem( wepchange );
    }
    }
    wait 0.1;
    }
    [/php]

    Got that code from another thread... What do i have to do with it that ppl can't pick up weapons from the ground?

    And how can i take all perks of a player ?
    Last edited by prisma; 10-12-2010 at 12:51 PM.

  2. #2
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    u can do this:
    on dvar:
    self _clearPerks();

    and for anti pickup u need to do:
    while(self getCurrentWeapon() == "none") {
    self switchToWeapon("YOUR WEP HERE");
    wait 0.05; }

Similar Threads

  1. [Help Request] Anyone can help with this ?
    By devileyebg in forum Vindictus Help
    Replies: 1
    Last Post: 05-01-2011, 04:57 PM
  2. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 01:40 PM
  3. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 10:06 PM
  4. can any one help me with anti kick for cod 6
    By king evils in forum Call of Duty Modern Warfare 2 Help
    Replies: 2
    Last Post: 06-06-2010, 06:23 AM
  5. HELP with Unlimted ammo, invisible, anti kick adresses
    By noobi4life in forum WarRock - International Hacks
    Replies: 22
    Last Post: 11-27-2007, 06:35 PM