Admin Powers: Respawner 1.6
Description:
This is a basic plugin to respawn the target player. Now you can also set autorespawn after death, it supports @all/@red/@blue/@bots
It will also be in the sm admin menu for any admin with the kick flag.
You can easily hide chat notification if you want to ;-)
You can change ADMIN FLAG in "#define _ADMIN_FLAG_"
Commands:
- sm_rp
Usage: sm_rp <#userid|name>
Respawn indicated player immediately
- sm_rme
Usage: <amount>
Respawn you immediately
- sm_autorespawn
Usage: <#userid|name> <delay>
Respawn indicated player immediately after given delay
ConVars:
- sm_respawner_enable - Enable/Disable Plugin
0 = Disable | 1 = Enable
Default: "1" - Enable
- sm_respawner_chat_notify - Chat Notifications
(0 = Off | 1 = Target | 2 = All)
Default: "1" - Target
- sm_autorespawn_chat_notify - Chat Notifications for Auto-Respawn
(0 = Off | 1 = Target | 2 = All)
Default: "1" - Target
- sm_respawner_log - Enable/Disable Respawn Actions Logging
(0-Off | 1-Separate File | 2-SM Logs)
Default: "1" - Separate File
Changelog:
- Version 1.0 (18/07/09) /Starman2098 (Approved but does not work :X)
- Initial Release (plugin does not work)
- Version 1.1 (23/07/09)
- Added ConVar: sm_rplayer_enable
- Added ConVar: sm_rplayer_chat_notify
- Added ConVar: sm_rplayer_log
- Added Multi-Language Support (with Polish translation)
- Version 1.2 (08/08/09)
- Added Autorespawn
- Added Colors to Phrases
- Version 1.3 (11/08/09)
- Fixed sm_autorplayer filtered to alive players
- Fixed Menu (show only alive players)
- Changed colors in phrases
- Added sm_rme command
- Version 1.4 (13/08/09)
- Added checks for round start/end (sm_autorplayer don't respawn player when round ends)
- Another Menu fix
- sm_rme command fix
- Version 1.5 (17/08/09)
- Added checking if player is spectator
- Version 1.6 (20/21.08.2009)
- Changed commands names
- Redone some functions
- Redone phrases
Installation:
Precompiled version:
- Put respawner.smx to sourcemod/plugins
- Put respawner.phrases.txt to sourcemod/translations
Source
(to compile locally)
- Put respawner.sp to sourcemod/scripting
- Put colors.inc to sourcemod/scripting/include
- Put respawner.phrases.txt to sourcemod/translations
Known bugs: Another Admin Powers plugins:
If you like this plugin give me karma.