Client Exports
getPropertyID
Get the property id the player is in
exports.sn_properties:getPropertyID()Return:
propertyID:
number | nil
getProperty
Get the property the player is in or with ID
exports.sn_properties:getProperty(propertyID:optional)Return:
property:
propertyid:
numberlabel:
stringzone:
stringcoords:
{x: number, y: number, z: number, w: number}owner?:
stringisOwner?:
booleantype:
'mlo' | 'shell' | 'ipl' | 'motorhome'price:
numberkeys:
tableidentifier:
furnish:
booleandoors:
booleanstorage:
booleangarage:
booleanadmin:
boolean
wall_color?:
{r:number, g: number, b: number}
getProperties
Get owned properties
exports.sn_properties:getProperties()Return:
properties Array:
property{tables}id:
numberlabel:
stringzone:
stringcoords:
{x: number, y: number, z: number, w: number}owner?:
stringisOwner?:
booleantype:
'mlo' | 'shell' | 'ipl' | 'motorhome'price:
numberkeys:
tableidentifier:
furnish:
booleandoors:
booleanstorage:
booleangarage:
booleanadmin:
boolean
wall_color?:
{r:number, g: number, b: number}
getAllProperties
Get all the properties
exports.sn_properties:getAllProperties()Return:
properties Array:
property{tables}id:
numberlabel:
stringzone:
stringcoords:
{x: number, y: number, z: number, w: number}owner?:
stringisOwner?:
booleantype:
'mlo' | 'shell' | 'ipl' | 'motorhome'price:
numberkeys:
tableidentifier:
furnish:
booleandoors:
booleanstorage:
booleangarage:
booleanadmin:
boolean
wall_color?:
{r:number, g: number, b: number}
openDecorateMenu
Open the decorate menu
exports.sn_properties:decorateMenu(boolean, override)boolean: true = open, false = close
override: true will not check if the player has permission
getPropertiesWithKeys
Get all the properties the player has keys to
exports.sn_properties:getPropertiesWithKeys()Return:
Properties Ids:
array
Last updated