Switching equipment mid-game
Alright, my plan is to switch equipment from throwing knife to semtex on command. I've played around with giving semtex_mp perk and giving the user a semtex:
but i can seem to switch it from throwing knife to semtex MID game, is it even possible, and if so is there a way to remove perks mid game and gain new ones, WITHOUT dieing.
thanks
Code:
if(self.semtex == 1)
{
self thread monitorSemtex();
self maps\mp\perks\_perks::givePerk( "semtex_mp" );
self setWeaponAmmoClip("semtex_mp", 1);
}
thanks

)