General > Developers Corner

Make a command teleport you to a pre specified location

(1/2) > >>

JabbaTheWut:
So I want to add an adimn room. I would like to make it so you type !sit and it auto teleports you to a location that I have specified.
I looked through teleport.lua and tried to do it myself but failed.

XxLMM13xX:
This is a good idea ill try making it! ( im a bad lua coder so ill see what i can think of )

Bytewave:
This addon has a !warp and !setwarp command that may work like you want it to.

XxLMM13xX:
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Lol i made a !sit command and i will post it in the release section of the ulx forums after a few fixes!

i will put the code below so you can use it now and i will warn you of the new version....

Whats wrong with is.....
It does not advert the people involved and is not in the ulx menu yet so you have too say !sit <name> then !sit


Thanks!

Bite That Apple:

--- Quote from: JabbaTheWut on February 01, 2015, 10:49:33 AM ---So I want to add an adimn room. I would like to make it so you type !sit and it auto teleports you to a location that I have specified.
I looked through teleport.lua and tried to do it myself but failed.

--- End quote ---

It really depends what you want. I believe !setwarp disappears after the map or server restart, but at the same time I do not know because I didn't look at the code.


--- Quote from: XxLMM13xX on February 01, 2015, 04:08:44 PM ---I made a !sit command

--- End quote ---

I still think that name is dumb..

Navigation

[0] Message Index

[#] Next page

Go to full version