IsPointInsideProperty
lua
The script uses this check when furniture is placed. It works like this:
- If the player is inside a shell or IPL interior, it returns
true. - For an MLO while placing furniture, it checks the inside zone or the yard, depending on where the furniture goes.
- Otherwise it checks the property's yard zone.
- If the property has no yard zone, it returns
true.
Parameters
- propertyId:
numberThe property ID - point:
vector3The point to check
Return Value
booleanfalseif the property doesn't exist.
Example
lua