3aGl3 Posted October 23, 2016 Share Posted October 23, 2016 Hey everyone, I have a quick and maybe pretty dumb question but let's get to it. How do I hide the players body? I want to hide the players body when he logs out of his account but so far I couldn't get anything working. I've tried to destroy the player, set him invisible etc. I know that there is the setElementAlpha function but I was wondering if there is a better solution. - 3aGl3 Link to comment
Dealman Posted October 23, 2016 Share Posted October 23, 2016 setElementDimension perhaps? Link to comment
iPrestege Posted October 23, 2016 Share Posted October 23, 2016 You can set player in a new dimension and use hide element alpha as you said. Link to comment
3aGl3 Posted October 23, 2016 Author Share Posted October 23, 2016 Thanks for the reply. I guess I'll just use a different dimension then. Link to comment
iPrestege Posted October 23, 2016 Share Posted October 23, 2016 But you have to loop all players and check that there's no players at all in that random dimension. Link to comment
3aGl3 Posted October 23, 2016 Author Share Posted October 23, 2016 I think I will use the very last dimension as a sort of "trashcan". Link to comment
Captain Cody Posted October 24, 2016 Share Posted October 24, 2016 There are infinite dimensions. Link to comment
3aGl3 Posted October 24, 2016 Author Share Posted October 24, 2016 15 hours ago, CodyL said: There are infinite dimensions. The wiki states there are "only" 65535 dimensions. I never tried to go even that far but what is correct now? Link to comment
Walid Posted October 24, 2016 Share Posted October 24, 2016 you can use sth like this to get a free dimension local curDimension = 1 function getFreeDimension () curDimension = curDimension + 1 return curDimension end Link to comment
!#NssoR_) Posted October 24, 2016 Share Posted October 24, 2016 16 minutes ago, 3aGl3 said: The wiki states there are "only" 65535 dimensions. I never tried to go even that far but what is correct now? The wiki is correct. If you enter a dimension greater than 65535 then, it is will move you to 0 dimension. Link to comment
Captain Cody Posted October 24, 2016 Share Posted October 24, 2016 Oh never mind then. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now