ULX

Author Topic: I need help with ULX Admin Addon.  (Read 2965 times)

0 Members and 1 Guest are viewing this topic.

Offline CroX

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
I need help with ULX Admin Addon.
« on: August 17, 2013, 06:12:47 PM »
Hi, Im new to the LUA codeing and stuff.
And I've searched on google and youtube but I cant find any help. If someone knows please tell me!  :-[
I need help with TWO things.

First of all, I need help to add a reason to jail. ex.:


!jail bob 300 Hi

and It will say in the chat >:

Bob jailed bob for 300 seconds (Hi)       (No need to color script/code it)

Thanks for the help.






Second thing I need help with.

Me and my friend found out the jail is just totally wrong.    Reasons:

1. The jailed guy can kill you thru the jail.

2. People from the OUTSIDE can kill the jailed guy

The jail looks like this.















And I'd like it to be this material and I want the form to be this






























Thanks for the help!  ;D



Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: I need help with ULX Admin Addon.
« Reply #1 on: August 20, 2013, 05:37:53 PM »
For the first, it's a relatively straightforward change that you should have no problem making yourself, even with limited coding knowledge. Consider it a good first challenge.

For the second, jails are already like that for the next release.
Experiencing God's grace one day at a time.

Offline CroX

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: I need help with ULX Admin Addon.
« Reply #2 on: August 21, 2013, 06:57:41 AM »
Come on please help me.

I have tried to code it but I cant.

Mr582

  • Guest
Re: I need help with ULX Admin Addon.
« Reply #3 on: August 22, 2013, 07:39:37 PM »
Come on please help me.

I have tried to code it but I cant.
You and I are from the same place right now. The way you would do it is look at other commands that do have reasons and kind of copy that code to jail. I am new to lua too and that's what I would do. If you can't figure it out ill try and help you.

Offline CroX

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: I need help with ULX Admin Addon.
« Reply #4 on: August 22, 2013, 11:27:29 PM »
You and I are from the same place right now. The way you would do it is look at other commands that do have reasons and kind of copy that code to jail. I am new to lua too and that's what I would do. If you can't figure it out ill try and help you.



I'd be happy if you could help me. And if you know how to do it. I tried it once, nothing happened, not even lua error.

Mr582

  • Guest
Re: I need help with ULX Admin Addon.
« Reply #5 on: August 23, 2013, 02:25:07 PM »


I'd be happy if you could help me. And if you know how to do it. I tried it once, nothing happened, not even lua error.
Ill help you while I am waiting for something. Give me 15 minutes or so

Offline CroX

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: I need help with ULX Admin Addon.
« Reply #6 on: August 23, 2013, 05:39:38 PM »
Are you done yet?

:)