View difference between Paste ID: cnbt8HVq and U2fKkgsr
SHOW: | | - or go back to the newest paste.
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
}