This simple addon will allow you to respawn players who are dead by the use of the console command !respawn:
[code]!respawn <target name>[/code]
This checks your mani clients.txt file to see if the steamid of the person calling !respawn has the mani "admin" flag associated with their steamid. If they do, and the target player is dead and not a spectator, it will respawn them. If the caller is not an authorized user, nothing will happen and they will be notified that they do not have access to this command.
Also provides an example of how to use mani_basic_auth with ES Python.
Installation
Extract the archive to your server's cstrike folder. Make sure you have the mani_basic_auth authorization provider loaded. In order to do this, add the following line to your autoexec.cfg:
[code]es_load examples/auth/mani_basic_auth[/code]
(you will likely need to restart your server)
This script WILL NOT WORK unless you have the above auth provider loaded and have mani active and properly configured on your server.
Version Notes For 1.0
Updated on: 2010-11-13 04:20:21 EST by LobsterMan (View Zip Contents)