TransferProperty
luaexports.nolag_properties:TransferProperty(propertyId, transferToType, transferToIdentifier, reason)
Parameters
- propertyId:
numberThe property ID - transferToType:
'user' | 'society'The type of the new owner - transferToIdentifier:
stringThe identifier of the new owner either the citizenid(identifier) of the player or the name of the job - reason?:
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