AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [ZR] Class Attribute Print Class Info (https://forums.alliedmods.net/showthread.php?t=338487)

000 07-08-2022 04:02

[ZR] Class Attribute Print Class Info
 
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.




All times are GMT -4. The time now is 11:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.