Ulysses
Ulysses Stuff => Releases => Topic started by: XxLMM13xX on May 06, 2015, 03:02:06 PM
-
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 (https://youtu.be/8li4c4xnA7A)
-
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?
-
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?
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
-
3. What do you mean?
I just meant a way to save position over map changes and such. It just seems like setting it every time would be annoying.
-
UPDATE:
Added a !untimeout
Took out the unfreeze command thingy
took out the freeze command
-
I just meant a way to save position over map changes and such. It just seems like setting it every time would be annoying.
so like a !settimeoutlocation command (not that long)
Ill look into it if so
-
This is revolutionary! xD
-
<3