Anti Camp Spawn areas only
Posted: Tue Sep 01, 2009 10:25 pm
Hey all, been a long time since I have scripted and forgot most of it.
I want to implement anti camping at spawn in a few maps. Not like what Admin Pro does.
What I am looking for is after 2 minutes have passed and you are still at spawn, I would like 10 health to be taken away every 5 seconds. Either you leave spawn or you die.
My maps are all obj and all set to 5 min rounds. So I would like to implement an anti spawn camping mod to keep people from just hanging out there for the whole 5 minutes.
I could research and figure this out again, but I was hoping someone could just throw something up real quick to point me in the right direction.
Getting coordinates for the spawned trigger box is not a problem. I just dont remember how to add the timer and then add the pain.
Thanks in advance !!
I want to implement anti camping at spawn in a few maps. Not like what Admin Pro does.
What I am looking for is after 2 minutes have passed and you are still at spawn, I would like 10 health to be taken away every 5 seconds. Either you leave spawn or you die.
My maps are all obj and all set to 5 min rounds. So I would like to implement an anti spawn camping mod to keep people from just hanging out there for the whole 5 minutes.
I could research and figure this out again, but I was hoping someone could just throw something up real quick to point me in the right direction.
Getting coordinates for the spawned trigger box is not a problem. I just dont remember how to add the timer and then add the pain.
Thanks in advance !!