👜 State bags
Player
propertyId
Returns number - the property id (only in shell/ipl property)
lua-- client side LocalPlayer.state.propertyId -- server side Player(source).state.propertyId
currentProperty
Returns number - the property id (Shell/Ipl/Mlo - yard zone included)
lua-- client side LocalPlater.state.currentProperty -- server side Player(source).state.currentProperty
insideArea
Returns boolean whether you are in a yard zone or mlo property
lua-- client side LocalPlayer.state.insideArea -- server side Player(source).state.insideArea
editingFurniture
Returns boolean whether you are in a furniture mode
lua-- client side LocalPlayer.state.editingFurniture -- server side Player(source).state.editingFurniture
Entity
propertyId
luaEntity(entityId).state.propertyId