General > Off-Topic

stuck command (!stuck)

<< < (3/3)

Bytewave:

--- Quote from: JamminR on June 18, 2016, 06:41:29 AM ---It makes me sad that no one seems to use the search box we keep open for people.
This forum has had many coders over many years.
Searching often leads to previous conversations.
https://forums.ulyssesmod.net/index.php/topic,7259.0.html

--- End quote ---
I think he wants one that would simply reposition the player a few units, out of any collision boxes, not bring them to any player or respawn them. As OP said, this is for TTT, and both of those would probably not be the best solutions.

I'll try and dig up the old addon I used to use that would spawn a prop and teleport a player to it---that seemed pretty reliable back in the day.

edit: It's not mine to distribute, but here. Hopefully the original creator takes credit if they find this.
edit 2: Commands (which all do the same thing) are:

* !unstuck
* !stuck
* /unstuck
* /stuckAdmins and above should receive echos about who used the command. Unfortunately, there is no ULib specific code for access, however I could probably add this if you'd like, even if I didn't make the addon.

C.Finley:
Thank You.

JamminR:

--- Quote from: Bytewave on June 18, 2016, 08:42:11 AM ---would simply reposition the player a few units, out of any collision boxes, not bring them to any player or respawn them.

--- End quote ---

But it's still the same subject matter, just wanting it a different way.
I feel a continuation of that thread would have been best.

ULib's getspawninfo function are different than just respawning, and that's mentioned in the post I linked.
We use it to keep people being punished from losing weapons/ammo/health and armor they already had if they try to kill themselves during the punishment.
It shouldn't have been difficult for someone with half way decent lua and ULX function knowledge to combine the collision and surface checking tp and bring use in combination with the ULib.getSpawnInfo and make a custom stuck/spawn function with out player:Spawn to make a nice little ULib unstuck command for our releases section.

Then when this question gets asked 10 more times over the next 5 years, we simply point them to the release and lock the thread.


An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version