• Is there a way to know if a button is bind to an entity and which one ?
    3 replies, posted
Hello ! I would like to know if there's a way to know if a button is bind to an entity and which one, because I would like to get the entity name and id of the door bind to it. I hope you could help me.Thank you for reading!
I'm not sure if you mean one entity being parented to another, or if you are talking about constraints. For parenting, see Entity:GetParent(), and for constrained entities (like welds), see constraint.GetAllConstrainedEntities().
I think he means stuff like cameras, wheels, etc. Unfortunately I don't think there's a way to get a list of them. The numpad library doesn't have any sort of "Get" function.
Thank you for your helps! my goal was to make a keycard system, but however I found another way to do it
Sorry, you need to Log In to post a reply to this thread.