Detach player from boat when teleporting?

User avatar
ratmix
Member
 
Posts: 148
Joined: Mon May 01, 2017 19:45
In-game: ratmix

Detach player from boat when teleporting?

by ratmix » Fri Mar 01, 2019 20:56

Teleport & player:set_pos() do not work when a player is attached to a boat (default) or other entity. Is there a way to correct this?
King of the Hill :: Modern Warfare Server RATMIX.COM:30000 | King of the Hill Community Site
 

User avatar
ratmix
Member
 
Posts: 148
Joined: Mon May 01, 2017 19:45
In-game: ratmix

Re: Detach player from boat when teleporting?

by ratmix » Sat Mar 02, 2019 00:29

This works to detach the player: player:set_detach()

However /teleport is a built-in command and doesn't check for attachment. It just provides an erroneous reply that the player was successfully teleported when they were not.
King of the Hill :: Modern Warfare Server RATMIX.COM:30000 | King of the Hill Community Site
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 3 guests