Hi all!, I'm new here and i hope you can help me.
I'm trying to find/create a function that detectates:
Is the player authorized in all CUPBOARDS in a radius of "X" mtrs? --> TRUE/FALSE
Thank you!![]()
Rust Detect authorized cupboards in radius
Discussion in 'Plugin Requests' started by bermme, Feb 3, 2015.
-
well .. that should be implemented in rust ... if it's not it just means it's a bug.
-
no, no, its not because of building bugs, its because I want to create a teleport plugin that the /tpr command only works if there is NO cupboards near, to avoid the bug of teleportation inside others homes.
So, the /tpr command should detect first of all if there are any cupboards in a radius of "X" mtrs and if YES, detect if the player is authorized in all of them. If the player is NOT authorized in some or all of them he won't be able to use /tpr.
And if the player is authorized in all cupboards in radius of "X" he will be able to teleport because he is in his home.
So i need to see if the player is authorized in all cupboards in a radius of "X" meters, for example, 50m, 75m...
Thanks! -
-
If you do tpr and you are next to a wall, sometimes the teleported player appears on the other part of the wall. If it's a house he can appear inside the house...
In my server we had desactivated the teleport system because of that bug... and I'm trying to solve it this way.
Thanks! -
oh i see :x
maybe @Mughisi will add this on his plugin -
-
Hi Mugishi, but the problem maybe is that the player who uses /tpr can first use the command and after walk close to the wall because he has n secs until the other player comes. Thats the reason why I thought implementing a system that checks if there are cupboards 50 mtrs(for example) near. With that distance, player cannot use /tpr command and then walk near the wall. It all dependes anyway on the tpr delay... Do you understand me?
Well... I'm going to try the updated version of TP and check if there are no more wall bugs. Thanks!.
Anyway, in the previous version of TP if you are on a pilar (inside a house) you can also use /tpr, because the system understands that you are not in a ceilling.
Thank you very much! -