TransferProperty
Transfer property to a new owner either user or a society
exports.nolag_properties:TransferProperty(propertyId, transferToType, transferToIdentifier, reason)Parameters
propertyId:
numberThe property IDtransferToType:
'user' | 'society'The type of the new ownertransferToIdentifier:
stringThe identifier of the new owner either the citizenid(identifier) of the player or the name of the jobreason?:
stringThe reason of the transfer that will be noted in the database. If not provided it will be just "Transferred the property"
Return Value
booleanstring?: Error message if the sale failed
Last updated