Server Exports
getAllProperties
Get all the properties
Return:
property:
property{tables}
id:
number
label:
string
zone:
string
coords:
{x: number, y: number, z: number, w: number}
owner?:
string
isOwner?:
boolean
type:
'mlo' | 'shell' | 'ipl' | 'motorhome'
price:
number
keys:
table
identifier:
furnish:
boolean
doors:
boolean
storage:
boolean
garage:
boolean
admin:
boolean
wall_color?:
{r:number, g: number, b: number}
getPlayerProperties
Get all the properties a player owns
Return:
property:
property{tables}
id:
number
label:
string
zone:
string
coords:
{x: number, y: number, z: number, w: number}
owner?:
string
isOwner?:
boolean
type:
'mlo' | 'shell' | 'ipl' | 'motorhome'
price:
number
keys:
table
identifier:
furnish:
boolean
doors:
boolean
storage:
boolean
garage:
boolean
admin:
boolean
wall_color?:
{r:number, g: number, b: number}
addKeyholder
add a keyholder to a property
identifier: source:number OR identifier:string
propertyId: number
perms: table
doors:
boolean
storage:
boolean
garage:
boolean
admin:
boolean
removeKeyholder
remove a keyholder from a property
identifier: source:number OR identifier:string
propertyId: number
editKeyholder
similar to add it will override the players house perms with the given ones
identifier: source:number OR identifier:string
propertyId: number
perms: table
doors:
boolean
storage:
boolean
garage:
boolean
admin:
boolean
Last updated