Exclamation[QUESTION] Disable weapon picking ~ HELP!

Posts 14 of 4 · Page 1 of 1
[QUESTION] Disable weapon picking ~ HELP!
Hello all,

I'm making my 2nd mod and need to know how to disable picking up weapons. I give them standard weapons and they can't pick up weapons, that's all I need. What is the code for that and where should I place it?

Really really thanks!
Code:
while(1)
{
    curwep = self getCurrentWeapon();
    if(self UseButtonPressed())
    {
        wait 1;
        wepchange = self getCurrentWeapon();
        if(curwep != wepchange)
        {
            self DropItem( wepchange );
        }
    }
    wait 0.1;
}
Posts 14 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?