IsUtilityCutOff
lua
A utility is cut off when its bill stayed unpaid past the grace period. The export asks the server for the current status, so call it from a thread.
Parameters
- propertyId:
numberThe property ID - utilityType:
'electricity' | 'water' | 'internet'The utility
Return Value
booleantrueif the utility is cut off.
Example
lua