SERVER: Reduce PaP time

This commit is contained in:
cypress 2023-09-14 14:12:51 -04:00
parent 4057357c42
commit 6ac0883126
2 changed files with 3 additions and 2 deletions

View file

@ -1180,7 +1180,7 @@ void PapUpgrade(entity pap, entity buyer) {
////////////////////////////////////////
self.fire_delay = self.reload_delay = 4.5 + time;
self.fire_delay = self.reload_delay = 2.0 + time;
sound(self,CHAN_WEAPON,"sounds/machines/papsound.wav",1,ATTN_NORM);
pap.weapon = self.weapon;
@ -1196,7 +1196,7 @@ void PapUpgrade(entity pap, entity buyer) {
self.isBuying = true;
Set_W_Frame (0, 39, 0, 0, 0, W_TakeOut, "models/machines/v_pap.mdl", true, S_BOTH);
Set_W_Frame (0, 39, 2.0, 0, 0, W_TakeOut, "models/machines/v_pap.mdl", true, S_BOTH);
self.weapon2model = "";
UpdateV2model(self.weapon2model, 0);

View file

@ -165,6 +165,7 @@ void() precaches =
// start weapons
precache_model ("models/weapons/m1911/v_colt.mdl");
precache_model ("models/weapons/m1911/g_colt.mdl");
precache_model ("models/weapons/knife/v_knife.mdl");
precache_model ("models/weapons/grenade/v_grenade.mdl");
precache_model ("models/weapons/grenade/g_grenade.mdl");