Camp mod..
Moderator: Moderators
-
HeavenBound
- Colour Sergeant
- Posts: 85
- Joined: Thu Sep 11, 2008 12:55 am
Camp mod..
k...so I'm workin on an anti camp mod...not going to tell what all goes on in it...but how would I define someone is camping scriptwise. I have the rest done, I just don't know how to define someone as camping in script..
HeavenBound
I'm new at this
I'm new at this
-
$oldier Of Ra
- Lieutenant Colonel
- Posts: 404
- Joined: Sun Oct 16, 2005 7:16 pm
- Location: Belgium
- Contact:
Just record his origin and check how long he stays within a radius of, say 50 units with as centre that recorded origin. Once it turns false, meaning he left the radius, start over again etc... Once he's over a specified amount of time, buzz him or kill him.
Why not take a look or just use the one in the admin pro menu?
Why not take a look or just use the one in the admin pro menu?
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
-
HeavenBound
- Colour Sergeant
- Posts: 85
- Joined: Thu Sep 11, 2008 12:55 am