Garry's Mod

Garry's Mod

评价数不足
New Lastinv
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐
文件大小
发表于
更新日期
1.739 KB
2019 年 9 月 28 日 下午 3:26
2024 年 3 月 19 日 下午 1:55
6 项改动说明 ( 查看 )

订阅以下载
New Lastinv

在 Sophisticated Gumi-chan 的 1 个合集中
Dabbin' Memes to fill your Garry's Mod Dreams.
38 件物品
描述
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.