Ulysses Stuff > Releases

ulx timeout

(1/2) > >>

XxLMM13xX:
ULX TIMEOUT
This is a simple addon to ULX that will teleport a naughty player to a set location (should be a corner) and freezes them there so they get to think about what they have done!

Commands:

!timeout <player> <seconds for timeout>

Soon to add:

HUD saying "YOU ARE IN TIMEOUT"
!settimeoutspot command
!untimeout command

NEW VIDEO

Aaron113:
Some criticism for ya

1.  the function ulx.freeze I do not believe you need?

2.  You better check to make sure the player hasn't disconnected.  (ply and ply:IsValid() in timer)

3.  Possibly make the position save?  Might just make the addon overly complicated.

4.  A max timeout of 100 seconds is kind of small, increase it or have no limit?

5.  Is calling ulx unfreeze necessary?

XxLMM13xX:

--- Quote from: Aaron113 on May 06, 2015, 03:13:10 PM ---Some criticism for ya

1.  the function ulx.freeze I do not believe you need?

2.  You better check to make sure the player hasn't disconnected.  (ply and ply:IsValid() in timer)

3.  Possibly make the position save?  Might just make the addon overly complicated.

4.  A max timeout of 100 seconds is kind of small, increase it or have no limit?

5.  Is calling ulx unfreeze necessary?

--- End quote ---

1. Looking back... no i will fix this

2. Good point

3. What do you mean?

4. Did not look at that! Will fix

5. Because of #1.... Yes

Aaron113:

--- Quote from: XxLMM13xX on May 06, 2015, 03:58:08 PM ---3. What do you mean?
--- End quote ---
I just meant a way to save position over map changes and such.  It just seems like setting it every time would be annoying.

XxLMM13xX:
UPDATE:

Added a !untimeout
Took out the unfreeze command thingy
took out the freeze command

Navigation

[0] Message Index

[#] Next page

Go to full version