Originally Posted by
dax
Is a good one for V2 ,
Admin Pro has Anti-camping features
// Invulnerable Time
// Amount of time (in seconds) a player is invulnerable for after spawning (default=3 seconds)
set sv_invulnerabletime 3
Is the stock invulnerable setting, although theres a few other mods with spawn protection but some just take it from admin pro
Simple one from admin pro :
Code:
spawn:
if(self.dmteam == "allies") {
self nodamage
self stufftext "locationprint 500 50 Spawn-Protect-On"//thx admin pro
//self light 0 0 1 100//blue
//self iprint "5 Second Spawn Protect On" 1
wait 5
self takedamage
self stufftext "locationprint 500 50 Spawn-Protect-Off"//thx admin pro
//self light 0 0 0 00
//self iprint "Spawn-Protect-Off" 1
}
if(self.dmteam == "axis") {
self nodamage
self stufftext "locationprint 500 50 Spawn-Protect-On"//thx admin pro
//self light 1 0 0 100//red
//self iprint "5 Second Spawn Protect On" 1
wait 5
self takedamage
self stufftext "locationprint 500 50 Spawn-Protect-Off"//thx admin pro
//self light 0 0 0 00
//self iprint "Spawn-Protect-Off" 1
}
if(self.dmteam == "spectator") {
end
}
end
Hope this helps