Author Topic: jail tp to coördinates  (Read 8655 times)

0 Members and 1 Guest are viewing this topic.

Offline ULXGmodFan

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: jail tp to coördinates
« Reply #15 on: June 08, 2014, 02:47:49 AM »
I tried, but same error, no jailpos is set for the map

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: jail tp to coördinates
« Reply #16 on: June 08, 2014, 10:31:47 AM »
Oh. I feel stupid.
Go into the lua file and find
Code: [Select]
"jailtp" .. game.GetMap() .. ".txt"This should be the one in the jailtp command. Replace "jailtp" with "jailtp/".
Out of the Garry's Mod business.

Offline ULXGmodFan

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: jail tp to coördinates
« Reply #17 on: June 10, 2014, 12:40:10 PM »
Thanks alot, that worked!

Now can I remove the bars somehow so it uses the jail in the level?

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: jail tp to coördinates
« Reply #18 on: June 10, 2014, 01:14:13 PM »
Thanks alot, that worked!

Now can I remove the bars somehow so it uses the jail in the level?

Oh. In that case, let me rewrite it.
Out of the Garry's Mod business.

Offline ULXGmodFan

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: jail tp to coördinates
« Reply #19 on: June 11, 2014, 07:06:47 AM »
Oh. In that case, let me rewrite it.
Rewrite? The lua addon now works, but i wouldn't recommand for others to use because they miss a slash in the code.

But I was wondering if I could just remove the prop fence models and if the jail still works but you can freely walk around in the mapjail instead of the 6 fences. Would the other stuff still work like not being able to use weapons and tools etc?

Thanks

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: jail tp to coördinates
« Reply #20 on: June 11, 2014, 07:44:38 AM »
There is. ULX spawns in those fences, so comment them out.
Out of the Garry's Mod business.