ANTI-SPAWNKILL GOD
Version 1.0
Hello! This is my first plugin ever. I'm a beginner at Pawn, but leanring every time more
I hope its usefully, i needed it for my Gungame Deathmatch-Server, because everyone spawnkilled all the time, and that sucks very hardly *g*.
DESCRIPTION:
The Anti-Spawnkill-God (SKG) protect every player who spawn for a certain amount of seconds. You can choose between two modes:
Mode 1: Godmode
The Player get godmode for X seconds and cant get damage. After X seconds, the godmode will removed and the player can damaged again.
Mode 2: Protect Health
The Player get more HP and AP for X seconds (certain through a cvar). After X seconds it will set to a cvar amount of health and ap back.
FEATURES:
*) Choose between 2 modes.
*) Player glow in a color you certain through a cvar.
*) Work with bots.
*) Specified Protecttime each map. If you dont do it, every map have the default skg_delay time.
*) Shows a warning, if you aim a protected player
*) On Spawn you see a timebar, which shows you howlong your protecttime left.
*) Disable SKG ([Anti]-SpawnKill God) by setting <seconds> in mapfile to 0.
CVAR's:
skg_mode (Default: 1)
Anti-Spawnkill God - 1: Godmode , 2: ProtectHealth
skg_protecthp (Default: 100)
Needed if skg_mode is 2: ProtectHP on Spawn
skg_protectap (Default: 100)
Needed if skg_mode is 2: ProtectAP on Spawn
skg_normalhp (Default: 100)
Needed if skg_mode is 2: HP after Protect Delay
skg_normalap (Default: 100)
Needed if skg_mode is 2: AP after Protect Delay
skg_glow (Default: 1)
If 1, player will glow if he is protect through Anti-Spawnkill God
skg_glow_r (Default: 000)
Needed if skg_glow is 1: Color of glow (RGB) .. Red
skg_glow_g (Default: 255)
Needed if skg_glow is 1: Color of glow (RGB) .. Green
skg_glow_b (Default: 000)
Needed if skg_glow is 1: Color of glow (RGB) .. Blue
skg_warning (Default: 1)
Shows a warning, if someone aim a protect player.
skg_timebar (Default: 1)
Shows yourself an timebar how long your protect left.
skg_delay (Default: 5.0)
Spawnprotection Delay (in Seconds .. example.: 10.0)
SPECIFIE PROTECT-TIME EACH MAP:
1.) Create a configfile in amxmodx/configs/.
2.) Rename it to "skg_map.cfg"
3.) One Map per line in following format:
Specified <mapname> protecttime to <seconds> seconds.
example:
Specified cs_assault protecttime to 4 seconds.
If you set <seconds> to 0, SKG will disabled for this map.
4.) Save it and restart server.
5.) Done
REQUIRES:
#include <amxmodx>
#include <amxmisc>
#include <
fakemeta>
SERVER RUNNING SKG
Check it (Some *g*)
CHANGELOG:
Version 0.2:
- First release
Version 0.2.1:
- Fixed fullupdate Issue. Thanks to connorr [Working on better solution...]
Version 0.3:
- The funmodule is'nt needed anymore.
- You need fakemeta for this plugin.
Version 0.4:
- Update Source :: Thanks to connor and atomen.
Version 0.5:
- You can specifed for every map own spawnprotect-times.
Version 1.0:
- You can now disable SKG for specifed maps (set seconds to zero in mapfile).
- Timebar now available (shows your own protect).
- Warning now available (shows a warning if you aim a protect player).
I hope you can use it :-) I have tested it on my server without any problems.
- Grinf4ce
Total Downloads without v1.0: 26
Latest Anti-Spawnkill God (Version 1.0 [06-28-2008]) - Download here: