TransferProperty
lua
No checks are done and no money changes hands. The key holders and any current renter stay as they are. The transfer is saved in the property's owner history.
Parameters
- propertyId:
numberThe property ID - transferToType:
'user' | 'society'The type of the new owner - transferToIdentifier:
stringThe citizenid of the player, or the job name of the society - reason?:
stringThe note saved in the owner history. Defaults to"Transferred the property".
Return Value
booleanWhether the property was transferredstring?'Invalid property'if the property doesn't exist
Example
lua