RSSy MYGO.pl Opublikowano Maj 18, 2023 o 02:42 RSSy Udostępnij Opublikowano Maj 18, 2023 o 02:42 NOTE: Although this plugin would work on any mod, there's currently only gamedata for TF2. Pull requests welcome! This plugin allows for customization of the server info text that's sent to clients each time they connect.Format:Values are inserted with printf format specifiers. Since this plugin does not modify the internal snprintf call at all, you have the following values at your disposal (in this order): [ Game description (%s), Map name (%s), Current players (%d), Max players (%d), Build number (%d), Server number (%d) ] Using less values than those available is okay (e.g. omitting the last specifier for server number). String values can be skipped using "%.s". CVars:serverinfotext_version - plugin version Dependencies:Source Scramble Installation:Make sure you have Source Scramble installed. Place the plugin in sourcemod/plugins and the gamedata file in sourcemod/gamedata. Create a file named infotext.txt in sourcemod/configs with your custom text. An example config is provided below. Load the plugin as normal. Plugin must be reloaded for config changes to take effect. Thanks to Zabaniya / Suza for teaching me how to use Source Scramble properly.Download plugin (serverinfotext.smx)Download gamedata (serverinfotext.txt)Download example config (infotext.txt)View source (serverinfotext.sp) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi