Jump to content

Recommended Posts

I mean this should be some options for structure. For example:

inst.can_see = { KU_qwerty = true, KU_asdfgh = true, } --userid

Player may be offline. There may be hundreds of user ids in this array. That's the way how information of visibility is stored in object.

I'd like to know how to make the object visible only for users with ids listed in array "inst.can_see". Does anybody have an idea?

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
×
  • Create New...