View Single Post
Author Message
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 11-29-2022 , 14:52   [L4D2] Switch Upgrade Packs Type v1.0.2 [1-December-2022]
Reply With Quote #1

about
  • small thing, hold or tap reload to switch packs type
  • i think existence of these is very reasonable haha
  • translation file default has en/chi/zho, edit your self if you needed

Intro Videos
[L4D2] Switch Upgrade Packs Type (SourceMod)


ConVar

PHP Code:
// announce types 0=dont announce 1=center 2=chat 4=hint. add numbers together you want
switch_upgradepacks_announce "2"

// time(seconds) for hold the reload to switch types 0=tap mode
switch_upgradepacks_holdtime "2" 

changelog
  • v1.0 just releases; 30-November-2022
  • v1.0.1 fix remove item cause entity leak, thanks to Silvers; 30-November-2022 (2nd time)
  • v1.0.2 fix forgot to listen key release :C sorry; 1-December-2022

Installation
  • put l4d2_switch_upgradepacks.smx on /plugins/
  • optional put l4d2_switch_upgradepacks.phrases.txt on /translations/ to make announcement work


Related Plugins
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_switch_upgradepacks.sp - 229 views - 6.4 KB)
File Type: txt l4d2_switch_upgradepacks.phrases.txt (639 Bytes, 108 views)
__________________

Last edited by NoroHime; 11-30-2022 at 11:33.
NoroHime is offline