Skip to main content

GetPlayerData

Retrieves player data. Optionally, you can pass a string to get a specific piece of data.
exports.lation_meth:GetPlayerData(key)
key
string
The specific player data field you want to retrieve (e.g., "level", "exp", "inside"). If omitted, returns a table with all player data.

GetTableData

Retrieves table data for a given table ID.
exports.lation_meth:GetTableData(tableId)
tableId
number
required
The table ID you want to retrieve data for.

GetWarehouseData

Retrieves warehouse data for a given warehouse ID.
exports.lation_meth:GetWarehouseData(warehouseId)
warehouseId
number
required
The warehouse ID you want to retrieve data for.

IsWarehouseOwner

Returns true or false if the player is the owner of the warehouse.
exports.lation_meth:IsWarehouseOwner(warehouseId)
warehouseId
number
required
The warehouse ID you want to check the player is an owner of.

IsAuthorizedUser

Returns true or false if the player is an authorized user of the warehouse.
exports.lation_meth:IsAuthorizedUser(warehouseId)
warehouseId
number
required
The warehouse ID you want to check the player is an authorized user of.
Looking for an export we don’t have listed here? Contact us and we’ll do what we can!