Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Expression 2 v
« Previous 1 2 3 4 5 … 8 Next »
Release Asgard Teleporter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Release Asgard Teleporter
05-04-2016, 05:03 PM, (This post was last modified: 05-04-2016, 05:51 PM by TCC | Echo Member | D4NNY.)
#1
TCC | Echo Member | D4NNY Offline
Newbie
*
Posts: 12
Threads: 3
Joined: Feb 2016
Asgard Teleporter
Heres the e2 code i put instructions on e2 so have fun Smile @name Asgard teleport
@inputs Asgard:wirelink
@persist [Owner Target Target2]:entity [Name Name2]Confusedtring [Origin Dest]:vector Send Teleport_everything Block

EDIT by T-17 :|
Code:
interval(200) runOnChat(1) Block=1 function entity getGate(N){ findByClass("stargate_*") return findResult(N)} if (first() | duped()) {Owner = owner() hint("Type /help to see how use this awesome teleporter", 7)} if (chatClk(Owner)) {Explode = Owner:lastSaid():explode(" ") if (Explode[1,string]=="/wall") {hideChat(1) Teleport_everything=0 Origin=Owner:pos() Dest=owner():toWorld(vec(90, 0, 0)) timer("Send",50)} if (Explode[1,string]=="/unstuck") {hideChat(1) Teleport_everything=0 Origin=Owner:pos() Dest=owner():toWorld(vec(-90, 0, 0)) timer("Send",50)} elseif (Explode[1,string]=="/goto") {hideChat(1) Teleport_everything=0 Origin=Owner:pos() Name=(Explode[2,string]) Target=findPlayerByName(Name) if (Target:isPlayer()==1) {Dest=Target:pos() + vec(50,50,0) timer("Send",50)} else {Send=0 hint("No such players here!",5) soundPlay(1,1,"buttons/button10.wav")}} elseif (Explode[1,string]=="/get") {hideChat(1) Teleport_everything=0 Name=(Explode[2,string]) Target=findPlayerByName(Name) Origin=Target:pos() if (Target:isPlayer()==1) {if (Target!=Owner) {Dest=Owner:pos() + vec(50,50,0) timer("Send",50)} else {Send=0 hint("You can't send yourself to yourself!",5) soundPlay(1,1,"buttons/button10.wav")}} else {Send=0 hint("No such players here!",5) soundPlay(1,1,"buttons/button10.wav") }} elseif (Explode[1,string]=="/aim") {hideChat(1) Teleport_everything=0 Origin=Owner:pos() Dest=Owner:aimPos() timer("Send",50)} elseif (Explode[1,string]=="/base") {hideChat(1) Teleport_everything=0 Origin=Owner:pos() Dest=entity():pos()+vec(30,30,0) timer("Send",50)} elseif (Explode[1,string]=="/send") {hideChat(1) Teleport_everything=1 Origin=Owner:aimPos() Name=(Explode[2,string]) Target=findPlayerByName(Name) if (Target:isPlayer()==1) {Dest=Target:pos() + vec(50,50,0) timer("Send",50)} else {Send=0 hint("No such players here!",5) soundPlay(1,1,"buttons/button10.wav")}} elseif (Explode[1,string]=="/help") {hideChat(1) print("/goto 'playername' to go to selected player ") print("/get 'playername' to get selected player to you ") print("/wall to pass trough wall") print("/unstuck get out from wall you stuck") print("/base to return to this e2 ") print("/gate 'number' to teleport to stargate") print("/send 'playername' to send selected player anythign on your aim ") print("/ptp 'playername1' 'playername2' to teleport first player to second ") print("/aim to teleport on your aim position ") print("/help to see this help again")} elseif (Explode[1,string]=="/ptp") {hideChat(1) Teleport_everything=0 Name=(Explode[2,string]) Name=(Explode[3,string]) Target=findPlayerByName(Name) Target2=findPlayerByName(Name2) Origin=Target:pos() if (Target:isPlayer()==1 & Target2:isPlayer()==1 ) {Dest=Target2:pos() + vec(50,50,0) timer("Send",50)} else {Send=0 hint("No such players here!",5) soundPlay(1,1,"buttons/button10.wav") }} elseif (Explode[1,string]=="/gate") {hideChat(1) Arg1=Explode[2,string] Teleport_everything=0 Origin=Owner:pos() Dest=getGate(Arg1:toNumber()):toWorld(vec(100,0,0)) timer("Send",50)} } if (clk("Send")) {Send = 1} else {Send = 0} Asgard["Origin",vector]=Origin Asgard["Dest",vector]=Dest Asgard["Send",number]=Send Asgard["Teleport Everything",number]=Teleport_everything Asgard["Disable Use",number]=Block
Find
Reply
05-04-2016, 05:05 PM, (This post was last modified: 05-04-2016, 05:50 PM by TCC | Echo Member | D4NNY.)
#2
TCC | Echo Member | D4NNY Offline
Newbie
*
Posts: 12
Threads: 3
Joined: Feb 2016
Asgard Teleporter
Heres the e2 code i put instructions on e2 so have fun Smile (if there are any problems i am on server #1 most days soo just come on and tell me)
Find
Reply
05-04-2016, 05:09 PM,
#3
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
RE: Asgard Teleporter
just in case anyone was wondering, this chip was made by the9mm on wiremod forums. cached link because wiremod is down.

also it's ['code'] Ew2 code goes in here ['/code'] but without the 's

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
Find
Reply
05-04-2016, 05:52 PM,
#4
TCC | Echo Member | D4NNY Offline
Newbie
*
Posts: 12
Threads: 3
Joined: Feb 2016
RE: Asgard Teleporter
(05-04-2016, 05:09 PM)T-17 Wrote: just in case anyone was wondering, this chip was made by the9mm on wiremod forums. cached link because wiremod is down.

also it's ['code'] Ew2 code goes in here ['/code'] but without the 's
But i edited it soo u know Tongue
Find
Reply
05-04-2016, 10:10 PM,
#5
Red The Blue Color Offline
TSCM Super Donating Member
****
Posts: 422
Threads: 34
Joined: Feb 2015
RE: Asgard Teleporter
(05-04-2016, 05:09 PM)T-17 Wrote: just in case anyone was wondering, this chip was made by the9mm on wiremod forums. cached link because wiremod is down.

also it's ['code'] Ew2 code goes in here ['/code'] but without the 's
First. Straight savage

Second. Ew e2

And finally just because you "edited it" doesn't mean you can post the code without the proper credit.

"with it's superior software, i have no doubt it will succeed in finding fuck all" - T-17, 2016

[Super Member] [ENCOM] т-ѕсм.Red The Blue Color™: server do you support Hitler?
[Server] srcds_linux: The probabilty is about 99.99%, so interpret that how you want to.
Find
Reply
08-04-2016, 01:29 AM,
#6
rouing Offline
#RBR15 - Rekt by Rouing 2015
****
Posts: 295
Threads: 27
Joined: Jul 2014
RE: Asgard Teleporter
(05-04-2016, 05:09 PM)T-17 Wrote: just in case anyone was wondering, this chip was made by the9mm on wiremod forums. cached link because wiremod is down.

also it's ['code'] Ew2 code goes in here ['/code'] but without the 's

#REKT after just a few minutes of the OP being posted.

What is this love you speak of?
Find
Reply
08-04-2016, 03:24 AM,
#7
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
RE: Asgard Teleporter
Now that wiremod forums is back up, here's the original link.

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.