RSSy MYGO.pl Opublikowano Styczeń 26, 2022 o 01:10 RSSy Udostępnij Opublikowano Styczeń 26, 2022 o 01:10 LISTEN SERVER ONLY IMPORTANT NOTE: SourceMod doesn't support Listen Servers. Description This plugin displays ent_text of entities in a range. (only in Listen Servers) ent_text definition: Quote: Displays text debugging information about the given entity(ies) on top of the entity (See Overlay Text) Arguments: {entity_name} / {class_name} / no argument picks what player is looking at I made this since there is no argument or easy way to apply it only to nearby entities. I only tested it on L4D1 and L4D2 but may work in any game. Features Automatically set the developer cvar to 1 when 0. Cvars A configuration file named "enttext.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" enttext_enable "1" // Default range for "sm_enttext" command. // - // Default: "300.0" // Minimum: "0.000000" enttext_range "300.0" Admin Commands sm_enttext => Applies ent_text command to entities in this range. Usage: sm_enttext [range]. (z flag required) sm_enttextclear => Removes ent_text from entities set by the plugin. (z flag required) sm_print_cvars_enttext => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (25-January-2022) - Initial release. Notes ent_text overlay is only visible when developer cvar isn't 0. Only works in listen servers. Recommended Plugins [ANY] Dev Cmds by Silvers Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "enttext.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (enttext.sp - 11.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi