RSSy MYGO.pl Opublikowano Wrzesień 29, 2020 o 17:19 RSSy Udostępnij Opublikowano Wrzesień 29, 2020 o 17:19 Description This plugin outputs to the chat every time someone throws a throwable (molotov/pipe bomb/vomit jar). There are some plugins in the forum that already does that for the molotov, because of the molotov_thrown event, But since we don't have specific events for pipe bomb or vomit jar, some people requested me to the same for both, mostly for the vomit jar because of the [L4D2] Bile the World plugin. Features Outputs the name of who threw a throwable to the chat. Allows to select which throwables should output to the chat. Allows to select which teams should see the message. Preview Coming soon. Cvars A configuration file named "l4d_throwable_announcer.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Enables/Disables the plugin. // 0 = Enable, 1 = Disable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_throwable_announcer_enable "1" // Output to the chat every time someone throws a molotov. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_throwable_announcer_molotov "1" // Output to the chat every time someone throws a pipe bomb. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_throwable_announcer_pipebomb "1" // Which teams should the message be transmitted to. // Known values: 0 = NONE, 1 = SURVIVOR, 2 = INFECTED, 4 = SPECTATOR. // Add numbers greater than 0 for multiple options. // - // Default: "1" // Minimum: "0.000000" // Maximum: "7.000000" l4d_throwable_announcer_team "1" // Output to the chat every time someone throws a vomit jar. L4D2 only. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_throwable_announcer_vomitjar "1" Admin Commands sm_print_cvars_l4d_throwable_announcer => Prints the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (29-September-2020) - Initial release. Known issues None. Notes The vomit jar message only outputs to the L4D2 game, since L4D1 don't have vomit jars. To Do Add instructor hints markers to the throwers (L4D2 only). Thank you! znation - for the request. emsit - for the ThrowingAntiSpam plugin, which was some base for this one. Related Plugins [L4D2] Burners Announce by [ru]In1ernal Error [L4D2] Bile the World by AtomicStryker [L4D2] ThrowingAntiSpam by emsit Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_throwable_announcer.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Put the "l4d_throwable_announcer.phrases.txt" file in your "\addons\sourcemod\translations\" folder. Attached Files l4d_throwable_announcer.phrases.txt (1.4 KB) Get Plugin or Get Source (l4d_throwable_announcer.sp - 14.0 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi