ItsMods

Full Version: Make a teleport area
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I create an area, which teleports players walking in that area?
(03-09-2014, 12:00)xxxLik3aB0SSxxx Wrote: [ -> ]How can I create an area, which teleports players walking in that area?

Simple IsInArea math and then set the player's position to the disered position?

Thanks Barata...
Math.Abs(x) - Math.Abs(to_x) and for Y Z etc.. if(distance > 50.0f) etc...
How does IsInArea look like? Sry but I'm a noob Tongue
@Dude Maybe show him a code instead of posting useless stuff



Don't worry i'll help him.
(03-09-2014, 15:23)Casper Wrote: [ -> ]@Dude Maybe show him a code instead of posting useless stuff



Don't worry i'll help him.

Maybe teach him, because it's not his first thread.
Yea what he said, you have to put them in a crosswire that way they can teleport to the pyramids, you can define the radius to 50 if you wish, but you will need to drink 1337 and one grams of caffine.