Server

getProperties

exports.tk_housing:getProperties()

Returns property data

  • data?: table

    • id: number

    • address: string

    • name?: string

    • price?: number

    • rent?: number

    • listingPrice?: number

    • owner?: string

    • image?: string

    • permissions?: table

getPropertiesByIdentifier

exports.tk_housing:getPropertiesByIdentifier(identifier)

Returns property data with given identifier

return:

  • data?: table

    • id: number

    • address: string

    • name?: string

    • price?: number

    • rent?: number

    • listingPrice?: number

    • owner?: string

    • image?: string

    • permissions?: table

Last updated