Author Topic: !jail - Send to a specific position  (Read 3479 times)

0 Members and 1 Guest are viewing this topic.

Offline DannyF

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
!jail - Send to a specific position
« on: February 22, 2016, 01:16:07 PM »
Hello, On many servers I've been admins do !jail and the target is sent to a specific position which is often called the admin jail. I've looked up a lot of posts I've tried !setjailpos(if that is a valid command). I've read the thread about !warp although that isn't what I'm wanting. Thanks in advance.

My ULib/ULX versions (run "ulx version" in console):
ULib v 2.60
ULX v 3.70

Game mode(s) I am having this problem on: DarkRP

Lua errors shown in console, if any:
Code: [Select]
<insert errors here>

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !jail - Send to a specific position
« Reply #1 on: February 22, 2016, 03:32:57 PM »
The jail function you speak of is not a feature of ULX.
Ours only creates fencing around where a player is located.

I know I've seen discussion regarding what you're talking about here on our forums.
Please search the Releases section or Developers Corner section using the search box.
It accepts multiple words.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline feldma

  • Newbie
  • *
  • Posts: 47
  • Karma: 5
  • 5696 hours in Gmod and counting!
    • Mega-Strike Network
Re: !jail - Send to a specific position
« Reply #2 on: February 22, 2016, 11:44:01 PM »
Isn't !jailtp a command?

I've never added it to my server yet it's there.. I think.
Solving 50% of people's questions by searching it up on google.

Trying to think of a cool idea to code, so I can inspire myself to code. If you want something done, please message me!

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: !jail - Send to a specific position
« Reply #3 on: February 23, 2016, 06:48:25 AM »
Isn't !jailtp a command?

I've never added it to my server yet it's there.. I think.
ulx jailtp is a command, IIRC, but it isn't a warp like OP wants. It just teleports the player to the caller, then jails them.
bw81@ulysses-forums ~ % whoami
Homepage

Offline feldma

  • Newbie
  • *
  • Posts: 47
  • Karma: 5
  • 5696 hours in Gmod and counting!
    • Mega-Strike Network
Re: !jail - Send to a specific position
« Reply #4 on: February 23, 2016, 12:19:18 PM »
Oh..

Okay, I might look into that (unlikely though since I'm busy as anything).
Solving 50% of people's questions by searching it up on google.

Trying to think of a cool idea to code, so I can inspire myself to code. If you want something done, please message me!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !jail - Send to a specific position
« Reply #5 on: February 23, 2016, 03:16:37 PM »
Yes, jailtp is a ulx command.
But he's wanting jail to go to a previously specified position.

Again, I'm pretty sure I've seen this discussed before, and likely answered, either in releases or dev corner.
Don't re-invent the wheel if it doesn't need to be, unless of course it has indeed not been invented.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline feldma

  • Newbie
  • *
  • Posts: 47
  • Karma: 5
  • 5696 hours in Gmod and counting!
    • Mega-Strike Network
Re: !jail - Send to a specific position
« Reply #6 on: February 23, 2016, 05:40:57 PM »
Yes, jailtp is a ulx command.
But he's wanting jail to go to a previously specified position.

Again, I'm pretty sure I've seen this discussed before, and likely answered, either in releases or dev corner.
Don't re-invent the wheel if it doesn't need to be, unless of course it has indeed not been invented.

Yes, there has been a thread about this function.

You can locate it here: http://forums.ulyssesmod.net/index.php/topic,7302.15.html - it's in one of the later posts.

I recommend reading the entire thread (it's only two pages), including all comments, as the usage might be a bit weird.
Solving 50% of people's questions by searching it up on google.

Trying to think of a cool idea to code, so I can inspire myself to code. If you want something done, please message me!

Offline DannyF

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: !jail - Send to a specific position
« Reply #7 on: February 25, 2016, 11:56:57 AM »
Thanks guys for all your help! I previously missed the post that had already been posted.