View Single Post
Author Message
000
Member
Join Date: Jul 2022
Old 07-08-2022 , 04:02   [ZR] Class Attribute Print Class Info
Reply With Quote #1

Description:
This plugin is a fork of FrozDark's [ZR] Print Class Info.

Functionality has been extended in a way
where only players with this playerclass attribute will have their playerclass info print.

Players can choose now what will be printed:

1. Print nothing.
2. Print only the class name.
3. Print only the class description.
4. Print both.

On default both (the name and the description) will be printed.

Settings are stored using clientprefs (via cookie).

Requirements:
SourceMod 1.11+
Zombie:Reloaded
[ZR] Tools

Installation:
- Put all files from the release folder in your game root folder ("csgo", "cstrike", ...). However, check the "plugins" folder beforehand because files for csgo and css are separated.
- Reload map.

If the plugin(s) are not working as intended, check your logs in addons/sourcemod/logs and report here (if available).
If error logs are not available, report nevertheless.

Configuration:
This plugin, unlike plugins usually do, does not use any .cfg files and is purely configurable via playerclasses.txt.
This means you can change values per playerclass.

PHP Code:
"print_class_info"    "yes" // Has Playerclass access to !zclassinfo command? 
Add these attributes with it's values to all playerclasses you have, anywhere you want.

Translation:
If you will, and the translation to be used does not exist, you can upload the file in a reply.

Credits:
- FrozDarK: work based on FrozDarK's

Changelog:
Code:
- v1.0
  • Initial release.
- v1.1
  • Added clientprefs.
- v1.2
  • Code improvements.
- v1.3
  • Code improvements;
  • Changed command name to !zclassinfo.

Last edited by DarkDeviL; 06-15-2023 at 12:40. Reason: Restore to previous version.
000 is offline