Exclamation[Solved]Disabling taking weapons from the ground

Posts 1–3 of 3 · Page 1 of 1
[Solved]Disabling taking weapons from the ground
Can I have the code so noone can pick up weapons from the ground?

Code:
while(1)
{
    curwep = self getCurrentWeapon();
    if(self UseButtonPressed())
    {
        wepchange = self getCurrentWeapon();
        if(curwep != wepchange)
        {
            self DropItem( wepchange );
        }
    }
     wait 0.1;
}
/marked as solved
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?