Advertisement
Rendflex

Untitled

Aug 15th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. giveInfectedLoadout(waitAnd)
  2. {
  3. gun = self getcurrentweapon();
  4.  
  5. self takeAllWeapons();
  6.  
  7. if(isdefined(waitand))
  8. {
  9. wait 0.1;
  10. }
  11.  
  12. self takeweapon(self GetCurrentOffhand());
  13. self takeAllWeapons();
  14. self clearperks();
  15. self _setperk("specialty_unlimitedsprint");
  16. self _setperk("specialty_lightweight");
  17. self giveweapon("usp_tactical_mp");
  18. self setWeaponAmmoClip("usp_tactical_mp", 0);
  19. self SetWeaponAmmoStock("usp_tactical_mp", 0);
  20. self setspawnweapon("usp_tactical_mp");
  21. self giveweapon("throwingknife_mp");
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement