User
Server functions that are in some way related to the user aspects.
local license = Wosa.User.License(
user --[[ int ]]
)
--[[
Parameters:
-> user: The PlayerID of the user.
Description:
Gets the r* license used by our framework mainly. Note, we do NOT use the steam
identifiers.
]]local currentTable = Wosa.User.CurrentDB(
user, --[[ int ]]
type --[[ string ]]
)
--[[
Parameters:
-> user: The PlayerID of the user.
-> type: The database type you want returned, 'c' or 'i'.
Description:
Gets either the inventory or character table currently used by the user.
Example:
local character_table = Wosa.User.CurrentDB(user, 'c')
local inventory_table = Wosa.User.CurrentDB(user, 'i')
]]Last updated
Was this helpful?