π State bags
NoLag Properties writes these state bag keys. Read them from your own resources. Do not change them, the script manages them.
Player
propertyId
number | nil The property id while the player is inside a shell, IPL or MLO interior. nil when outside. Not set in yard zones.
Set by the server. Readable on both sides.
instance
number | nil The property id while the player is inside a shell or IPL. nil when outside.
Set by the client. Readable on both sides.
routingBucket
number The routing bucket the script put the player in. Inside a shell or IPL this is the property id, when Config.ShellUseRoutingBuckets or Config.IplsUseRoutingBuckets is on. It is 0 after the player leaves. It can also change while the player watches a security camera or joins a furniture preset preview at an agency.
Set by the server. Readable on both sides.
currentProperty
number | nil The property id while the player is in any part of a property: shell, IPL, MLO or yard zone. nil when outside.
Client only.
insideArea
boolean true while the player is inside an MLO or a yard zone.
Client only.
editingFurniture
boolean true while the player is in furniture mode.
Client only.
shellCreatorBuilding
boolean true while the player is building in the shell creator.
Client only.
Entity
Furniture and door entities are tagged on the client. These keys are client only.
Furniture
Doors
Global
Readable on both sides.
objectPoolSize
number How many furniture objects each client can spawn. Set once when the script starts.
nolag_properties:powerBoxBroken:<propertyId>
boolean true while the power box of that property is broken. false when it works.