Jump to content

why vehicle or object not visible in other interior


Rukibarber

Recommended Posts

setTimer(function(player)   
  for _,v in ipairs(getElementsByType("vehicle")) do
    for _,o in ipairs(getElementsByType("object")) do
      local interior = getElementInterior(player)
      setElementInterior(v,interior)
      setElementInterior(o,interior)
    end
  end
end,50,0
)

 

  • Like 1
Link to post
On 1/3/2018 at 13:58, Rukibarber said:

help me pls

**sorry for my bad English**

What bad english? You didn't say anything. Gave no code at all! Are we magicians or some mind readers? Please look at the rules topic for the proper way of asking for help around here.

  • Like 2
Link to post

Elements with different interiors will be invisible to each other, this is because of GTA:SA using the same dimension for use of houses, shops, and other things of the sorts so that world objects don't interfere with each other. It's best if you want these elements to see each other to use the same interior.

Dimensions work a little differently. When elements have different dimensions, they have little to no interaction what so ever. This is helpful when separating a group of elements to give them their own world. It works great with servers that want to have multiple game modes and or sessions/worlds.

I hope that my explanation has helped you, have a nice day.

  • Like 1
Link to post

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...