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 ?
{
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 ?