Garry's Mod

Garry's Mod

Ei tarpeeksi arvosteluja
New Lastinv
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
Tiedostokoko
Julkaistu
Päivitetty
1.739 KB
28.9.2019 klo 15.26
19.3.2024 klo 13.55
6 muutosilmoitusta ( näytä )

Tilaa ladataksesi
New Lastinv

1 kokoelmassa, tekijä Sophisticated Gumi-chan
Dabbin' Memes to fill your Garry's Mod Dreams.
38 luomusta
Kuvaus
This is a reimplementation of the lastinv console command. It bypasses SWEPs disabling lastinv by not returning true from the deploy function.

Bind a key to lastinv_new.

There is a CVar called lastinv_new_frequency that can manipulate the timer frequency for how often the script will look for a new weapon to set to your previous weapon. Set this to 0.01 to emulate the original lastinv perfectly, at the cost of running once every tick. I chose 0.05 because that's once every five one-hundredths of a second, which is pretty fast already, but I wanted to compensate for every edge case. By default this CVar is set to 0.05.