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

Description:
This plugin is a simple made respawn method where respawn time can be defined for each
playerclass.

Supports Team vs Team respawn (like in Zombie Riot).
Program will automatically use this method when immunity_mode is not "none" in playerclasses.txt.

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

Installation:
- Put all files from the release folder in your game root folder ("csgo", "cstrike", ...).
- Reload map.

If the plugin is not working as intended, check your logs in addons/sourcemod/logs and report here.
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:
"respawn" "30" // How many seconds untill player will be respawned? 
Add these attributes with it's values to all playerclasses you have, anywhere you want.

Note: You will still have to use in cfg/zombiereloaded/zombiereloaded.cfg
"zr_respawn_team_zombie_world" and "zr_respawn_team_zombie"

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

Changelog:
Code:
- v1.0
  • Initial release.
- v1.1
  • Fixed handle.
- v1.2
  • Added countdown timer;
  • Polishing.

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