Ghost Respawning
[Updated 30th June 2009]
Description
Buy a respawn stone by typing /buystone in chat. If you have a stone, you will get respawned as a ghost (transparent) at the place you died.
Cvars- ghost_enable <1|0>
- Enables or disables the plugin.
- ghost_cost <money>
- The cost of the stone (default 10000).
- ghost_health <health>
- Health when the player is a ghost (default 50).
Commands
Requirements- AMX Mod X 1.80 or higher.
- Fakemeta
- Ham Sandwich
- Cstrike
Changelog
Code:
******
* Changelog
* 1.1
* [FIXED] Total rewrite, using Ham Sandwich for
* events, fakemeta instead of fun.
* Cleaned up code.
* 1.05
* [FIXED] Took away the (id) from event_new_round.
* You must download the new version in order
* to get the plugin to work.
*
* 1.04
* [FIXED] Moved the reset of rendering to the new round event.
* [FIXED] Now it only resets rendering on previous ghosts.
*
* 1.03
* [ADDED] Added that the player have to be in buyzone to buy
* the respawn stone.
* [FIXED] Fixed the set_task.
*
* 1.02
* [FIXED] The message "type /buystone"... comes at new round
* instead of round start now.
* [FIXED] Fixed that more than one person can die without
* respawning at the same place as the one before.
*
* 1.01
* [FIXED] Quick fix: The rendering will stop at round end.
*
* 1.0
* [RELEASE] Plugin released.
*******
Credits