Jump to content

Player + object in dimensions


Gallardo9944

Recommended Posts

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.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...