RSSy MYGO.pl Opublikowano Sierpień 14, 2022 o 01:10 RSSy Udostępnij Opublikowano Sierpień 14, 2022 o 01:10 Description This plugin hides/shows the equipped items on clients back/belt. FeaturesAllow configuring which items should be displayed on clients back/belt. Cvars A configuration file named "l4d_display_addonbits.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Which equipped items should display on clients back/belt. // 0 = NONE, 1 = SLOT 1, 2 = SLOT 2, 4 = SLOT 3, 8 = SLOT 4, 16 = SLOT 5, 32 = SMOKER TONGUE, 128 = DIESEL (L4D2 only). // Add numbers greater than 0 for multiple options. // - // Default: "0" // Minimum: "0.000000" // Maximum: "255.000000" l4d_show_addonbits_display "0" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_show_addonbits_enable "1" Related Game Cvars[L4D1 ONLY] survivor_draw_addons => 0=hides all items, 1=hides healthpack, pills and throwables, 2=show all items. (default: 2) Admin Commands sm_print_cvars_l4d_display_addonbits => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (13-August-2022) - Initial release. Notes This was achieved by changing the player m_iAddonBits netprop value on PostThinkPost. Only survivors are affected since for infecteds the netprop is always 0. The smoker tongue also has a related value to display. L4D1 doesn't have the diesel option. Diesel starts to display in the 3rd chapter of "Rain Hard" campaign. Flag 64 is a hidden defibrillator model that doesn't appear to be used in-game. Thank you! koromoro - for requesting. Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_display_addonbits.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_display_addonbits.sp - 11.5 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi