Napisano 24.07.2012 00:40
Revive Player DescriptionUsing this plugin you can revive players by saying /revive. A menu pops up with all the names of players available to be revived. Of course this service has a price.I've just rewrited BeasT's plugin to add requested feature (reviving enemies) and because I want try to make better code
CVARsrev_team (default: 3)- 0 - disables the plugin
- 1 - enables it only for CTs
- 2 - enables it only for Ts
- 3 - enables it for both teams
rev_target (default: 1)- 0 - enables it only to reviving yourself
- 1 - enables it only to reviving teammates
- 2 - enables it only to reviving enemies
- 3 - enables it to reviving both teams
rev_msg (default: 1)- 0 - disables the revival announcement (centered text message for revived player)
- 1 - enables it
rev_allmsg (default: 1)- 0 - disables the revival announcement (chat message for all players)
- 1 - enables it
rev_give_weaps (default: 3)- 0 - does not give weapons and armor to revived players
- 1 - gives it only to revived CTs
- 2 - gives it only to revived Ts
- 3 - gives it to both teams
rev_price_ct (default: 10000) - price for CTs to revive a playerrev_price_te (default: 10000) - price for Ts to revive a player Attention!You should use latest development version of AMXX available here or 'get_players & get_user_team fix' by ConnorMcLeod available here otherwise when player changes a team get_user_team() returns the previous team untill his spawn. Notes- reviver must be alive except he is reviving himself- you can define weapon set and prefix for chat messages in sma Modules requiredCstrikeHamSandwichFakemetaFun Change Log Code:
1.0: 07/24/2012- initial releaseCreditsBeasT - original plugin creator Attached Files
Get Plugin or
Get Source (revive_player.sma - 10.6 KB)
revive_player.txt (2.4 KB)
Wyświetl pełny artykuł