# TransferProperty

```lua
exports.nolag_properties:TransferProperty(propertyId, transferToType, transferToIdentifier, reason)
```

#### Parameters <a href="#parameters" id="parameters"></a>

* propertyId: `number` The property ID
* transferToType: `'user' | 'society'`  The type of the new owner
* transferToIdentifier: `string` The identifier of the new owner either the citizenid(identifier) of the player or the name of the job
* reason?: `string` The reason of the transfer that will be noted in the database. If not provided it will be just "Transferred the property"

#### Return Value <a href="#return-value" id="return-value"></a>

* `boolean`
* `string?`: Error message if the sale failed
