Camp mod..

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
HeavenBound
Colour Sergeant
Posts: 85
Joined: Thu Sep 11, 2008 12:55 am

Camp mod..

Post by HeavenBound »

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 :)
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

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?
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.
HeavenBound
Colour Sergeant
Posts: 85
Joined: Thu Sep 11, 2008 12:55 am

Post by HeavenBound »

Well..Actually I did, but thats some heavy core crap...plus im not using any of mefys stuff...that and I didnt wanna rip Elgan off...

Sor, I'm going to pm u on what the mod is gunna do..cuz i dont really wanna be ripped off, and I trust you. :]
HeavenBound

I'm new at this :)
Post Reply