Skip to main content

AddPlayerData

Adds an amount to a player’s specified data field.
exports.lation_meth:AddPlayerData(source, type, amount)
source
string
required
The source (player ID) to add data too.
type
string
required
The data type to modify (e.g., "level", "exp", etc).
amount
number
required
The amount to add to the specified data type.

GetPlayerWarehouses

Returns a table containing all warehouses owned by the specified player.
exports.lation_meth:GetPlayerWarehouses(source)
source
string
required
The source (player ID) you wish to get currently owned warehouses for.

GetPlayersInWarehouse

Returns a table containing all players currently inside a specified warehouse.
exports.lation_meth:GetPlayersInWarehouse(warehouseId)
warehouseId
number
required
The warehouse ID you want to see players are inside of.

IsWarehouseAvailable

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