Dr.G
02-15-2009, 08:07 AM
This is my version of a spawn protection plugin, i know there are others but i didnt like them...
/* Plugin generated by AMXX-Studio
----------------------------------------------------------------------------------------------------
INFO:
Simple spawn protection.. when a player spawn he will be in godmode for <n> amount of seconds. See
CVAR list for commands
CREDIT:
diamond-optic(www.avamods.com)
www.dodplugins.net
CHANGELOG:
02-15-2009
release
03-20-2009
fixed nasty team change bug - thanks to {GSR}RollinDeath
hud msg moved up a bit...
----------------------------------------------------------------------------------------------------
CVARS and default settings:
over all settings:
dod_sp 1 // plugin on/off | 1 = on 0 = off
dod_sp_time 8 // time to protect in seconds
dod_sp_hud_msg 1 // hud info | 1 = on 0 = off
dod_sp_glow 1 // glow effect | 1 = on 0 = off
glow settings:
dod_sp_glow_color_1 192 // glow color1 RGB
dod_sp_glow_color_2 192 // glow color2 RGB
dod_sp_glow_color_3 192 // glow color3 RGB
dod_sp_glow_thickness 16 // glow shell thickness
message settings:
dod_sp_msg_color_1 // hud msg color1 RGB
dod_sp_msg_color_2 // hud msg color2 RGB
dod_sp_msg_color_3 // hud msg color3 RGB
dod_sp_msg_effect 2 // hud msg effect
message effects types(dod_sp_msg_effect):
0 = fade in/fade out
1 = flickery credits
2 = write out (training room)
----------------------------------------------------------------------------------------------------
*/
////////////////////////////////////////////////////////////////////////////////////////////////////
bugs etc goes in this thread...
- Cheers
Public Stats (http://www.game-monitor.com/search.php?search=dod_sp_stats&type=variable)
/* Plugin generated by AMXX-Studio
----------------------------------------------------------------------------------------------------
INFO:
Simple spawn protection.. when a player spawn he will be in godmode for <n> amount of seconds. See
CVAR list for commands
CREDIT:
diamond-optic(www.avamods.com)
www.dodplugins.net
CHANGELOG:
02-15-2009
release
03-20-2009
fixed nasty team change bug - thanks to {GSR}RollinDeath
hud msg moved up a bit...
----------------------------------------------------------------------------------------------------
CVARS and default settings:
over all settings:
dod_sp 1 // plugin on/off | 1 = on 0 = off
dod_sp_time 8 // time to protect in seconds
dod_sp_hud_msg 1 // hud info | 1 = on 0 = off
dod_sp_glow 1 // glow effect | 1 = on 0 = off
glow settings:
dod_sp_glow_color_1 192 // glow color1 RGB
dod_sp_glow_color_2 192 // glow color2 RGB
dod_sp_glow_color_3 192 // glow color3 RGB
dod_sp_glow_thickness 16 // glow shell thickness
message settings:
dod_sp_msg_color_1 // hud msg color1 RGB
dod_sp_msg_color_2 // hud msg color2 RGB
dod_sp_msg_color_3 // hud msg color3 RGB
dod_sp_msg_effect 2 // hud msg effect
message effects types(dod_sp_msg_effect):
0 = fade in/fade out
1 = flickery credits
2 = write out (training room)
----------------------------------------------------------------------------------------------------
*/
////////////////////////////////////////////////////////////////////////////////////////////////////
bugs etc goes in this thread...
- Cheers
Public Stats (http://www.game-monitor.com/search.php?search=dod_sp_stats&type=variable)