ULX

Author Topic: Area Admin  (Read 2513 times)

0 Members and 1 Guest are viewing this topic.

Offline Hybris

  • Newbie
  • *
  • Posts: 11
  • Karma: 1
Area Admin
« on: December 15, 2011, 11:59:30 AM »
Is it possiple to make a tool or command for target an area where the owner of the target area is in control of everything even other players?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Area Admin
« Reply #1 on: December 15, 2011, 01:42:57 PM »
Interesting idea.
Possible Logic flow; (No, i won't be working on this)
If ply is in cube coordinates set by admin tool then
If ply is owner of area then
get/store current ply access
raise access in memory only (don't want them to leave/rejoin server as new high access
....
Now, as for how/when to check the players coordinates in relation to the area, in my mind, thats when it starts getting complicated and optimization required.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Hybris

  • Newbie
  • *
  • Posts: 11
  • Karma: 1
Re: Area Admin
« Reply #2 on: December 15, 2011, 02:28:46 PM »
Could it be something opposite jail?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Area Admin
« Reply #3 on: December 19, 2011, 05:47:40 PM »
If you mean "ulx jail", then you're not going to be able to use the code from that in this idea, as they're accomplishing totally different things.

JamminR has the right idea to get someone started on coding this. :)
Experiencing God's grace one day at a time.

Offline Hybris

  • Newbie
  • *
  • Posts: 11
  • Karma: 1
Re: Area Admin
« Reply #4 on: December 19, 2011, 06:08:16 PM »
That sound great :)