RSSy MYGO.pl Opublikowano Czerwiec 17, 2021 o 19:22 RSSy Udostępnij Opublikowano Czerwiec 17, 2021 o 19:22 Fixes:Blocks pouring non-scavenge models of gascans. Can configure which types to allow. Some options to choose what happens when pouring is denied. Thanks:Eärendil - For the idea and request XeroX - For showing the function to detour Lux - Discussion about the plugin and plugin title CVars: Saved to l4d2_incapped_crawling.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // 0=Plugin off, 1=Plugin on. l4d2_block_gascan_allow "1" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d2_block_gascan_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d2_block_gascan_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d2_block_gascan_modes_tog "0" // 0=Off. 1=Prevent dropping the gascan when denied pouring. l4d2_block_gascan_drop "1" // 0=Off. 1=Print a message to the client explaining they cannot use this gascan. l4d2_block_gascan_print "1" // 0=Off. 1=Stagger the client when denied pouring. l4d2_block_gascan_stagger "1" // Which models to block. 1=Standard, 2=Scavenge, 4=Green, 8=Green with Diesel text. Add numbers together. l4d2_block_gascan_types "13" Changes: Code: 1.0 (17-Jun-2021) - Initial release. Requirements:DHooks (Experimental Dynamic Detour support) extension. Installation:DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires DHooks!Download the .smx file and put into your servers \addons\sourcemod\plugins folder. Download the "l4d2_block_gascan.txt" gamedata and put the file into your servers \addons\sourcemod\gamedata\ folder. Attached Files Get Plugin or Get Source (l4d2_block_gascan.sp - 11.3 KB) l4d2_block_gascan.smx (7.5 KB) l4d2_block_gascan.txt (981 Bytes) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi