Gallardo9944 Posted November 11, 2013 Posted November 11, 2013 Hello. I've got a little problem with the code. I want to make a player see objects of his own dimension. Actually, everything is pretty much correct, the code has no errors, the dimensions are set. But the only problem that setting a player to (for example) 3rd dimension shows the objects of the 0th dimension, though making objects be in 3rd forces objects to disappear. Did i miss something? -- SERVERSIDE setElementDimension(player,3) -- It sets the dimension, already checked local object = createObject(...) -- Creating the object. The object is visible to any player of any dimension setElementDimension(object,3) -- The object disappears though the player is in 3rd dimension. Strange Thanks in advance.
Desaster Posted November 11, 2013 Posted November 11, 2013 setElementVisibleTo and try to make a higher dimension like 900/1000 because the first 100 dim contain interiors and that may be your problem
Gallardo9944 Posted November 11, 2013 Author Posted November 11, 2013 Disaster, quoting Wiki of setElementVisibleTo: This function can change an element's visibility. This does not work with all entities - vehicles, players and objects are exempt.
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