11-05-2010, 20:29
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