u can do this:
on dvar:
self _clearPerks();
and for anti pickup u need to do:
while(self getCurrentWeapon() == "none") {
self switchToWeapon("YOUR WEP HERE");
wait 0.05; }
[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 ?
Last edited by prisma; 10-12-2010 at 11:51 AM.
u can do this:
on dvar:
self _clearPerks();
and for anti pickup u need to do:
while(self getCurrentWeapon() == "none") {
self switchToWeapon("YOUR WEP HERE");
wait 0.05; }