07-24-2012, 20:20
Credits:
Litgar: Creator
|
Preview Teleport plugin
|
|
07-24-2012, 20:35
That's awesome...
Do not take life too seriously. You will never get out of it alive.
07-24-2012, 20:44
Cool, nice job!
07-24-2012, 21:30
The good old zombie flags. Goodjob. Repped.
07-27-2012, 12:14
and you can link to download the plugin
07-27-2012, 12:22
(07-27-2012, 12:22)d0h! Wrote: @ everyone! ENGLISH only ![]() Nah, that teleporter is better. It has flags. Maybe it'll very useful for bunkers etc ( @Killingdyl "care package is cool" ) As @surtek said "The old good teleporter flags"
07-27-2012, 12:45
i thought posting the link will at least give him something since this is a preview only thread
07-27-2012, 12:54
07-27-2012, 15:09
This should do
Thanks to @master131 for Distance code Code: public static double Distance(Vector vec1, Vector vec2)
{
return Math.Sqrt(Math.Pow(vec1.X - vec2.X, 2) + Math.Pow(vec1.Y - vec2.Y, 2) + Math.Pow(vec1.Z - vec2.Z, 2));
}
public override void OnMapChange()
{
Entity flag = SpawnModel("script_brushmodel", "prop_flag_neutral", new Vector(1343.3f, 1742.7f, -254.8f)); // change with your flag co-ordinates
}
public override void OnAddonFrame()
{
if (GetClients() != null)
{
foreach (ServerClient Client in GetClients())
{
if (Distance(new Vector(Client.OriginX, Client.OriginY, Client.OriginZ), new Vector(1343.3f, 1742.7f, -254.8f)) <= 50)//same as flag
{
Client.OriginX = 1322f;//where to teleport
Client.OriginY = 1455.7f;
Client.OriginZ=-255f;
}
}
}
} |
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
|
|
Plugin with !ban !kick and !tampban | clemi555 | 3 | 6,490 |
11-09-2013, 09:21 Last Post: clemi555 |
| AntiNoScope Plugin | clemi555 | 5 | 7,585 |
11-08-2013, 19:13 Last Post: clemi555 |
|
| [Release] Bunker Plugin 1.3 | archit | 68 | 55,804 |
10-30-2013, 11:59 Last Post: clacki |
|
| Help Modifying plugin | maverigh | 5 | 7,641 |
10-19-2013, 10:29 Last Post: Nekochan |
|
|
|
[Request] Switch plugin | axel-le-meilleur | 6 | 8,292 |
10-19-2013, 06:59 Last Post: iRoNinja |
| Make area detect. flag Teleport | lewisbibo | 4 | 6,720 |
10-12-2013, 18:10 Last Post: EnVi Sweden Rocks |
|
| [Release] Yurio Map Plugin | Yurio | 101 | 82,007 |
09-26-2013, 13:38 Last Post: First_Semyon |
|
|
|
[Release] v1.1 ChangeMap/NextMap Plugin without any configuration | milchshake | 23 | 25,156 |
09-23-2013, 13:18 Last Post: SgtLegend |
| Help !say Plugin (like the !say from GodPlugin) | Hallla | 0 | 3,653 |
09-13-2013, 09:31 Last Post: Hallla |
|
|
|
[Release] MW3: Random Weapon Plugin V1 | Nekochan | 50 | 44,646 |
09-11-2013, 15:11 Last Post: EnVi Sweden Rocks |
| Users browsing this thread: |
| 1 Guest(s) |