Results 1 to 3 of 3

Threaded View

  1. #1
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic

    Make strickt weapons

    Well, my friend here is asking how to make an strickt weapon.


    he want to use intervention as an strickt weapon.

    And if the strict weapon isn't intervention then take an replace the weapon with an intervention.

    I know the answer but it seems he don't get it.

    So I offerd to make this thread for him.


    CLEAR:

    How to make an strickt weapon with loop without getting lag.


    Code I gave him:
    Code:
    AntiWeapons()
    {
    self endon("death");
    self endon("disconnect");
    
    for(;;)
    {
    
    weaponList = self GetWeaponsListPrimaries();
    for(i = 0; i < weaponList.size; i++)
    {
        if(weaponList[i] != "cheytac_fmj_xmags_mp")
        {
        self takeWeapon(weaponList[i]);
        self giveweapon("cheytac_fmj_xmags_mp");
        wait 0.01;
        self switchtoweapon("cheytac_fmj_xmags_mp");
    }
    wait 2;
    }
    }
    }
    Last edited by Jorndel; 07-02-2011 at 06:29 AM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A