Server Exports
GetManagementAllowedGroups
Return a table with each groups that can manage the shop (from config file).
---@return table
local groups = exports["FShop"]:GetManagementAllowedGroups()UseCustomShopId
Return a boolean value which indicate if the Shop uses FAdmin permanent ID for its features.
---@return boolean
local useFAdminPermId = exports["FShop"]:UseCustomShopId()GetPlayerShopId
Return the player' shop ID.
---@param player number
---@return number
local shopId = exports["FShop"]:GetPlayerShopId(player)GetPlayerCoins
Return the current shop balance of a player.
GivePlayerCoins
Give coins to a player with his Rockstar license (not CharID).
RemovePlayerCoins
Remove coins to a player with his Rockstar license (not CharID).
GetPlayerTransferHistory
Return player shop history with his Rockstar license (not CharID).
Mis à jour