grabSkills

This retrieves the entire skill data set for a specific player based on their server identifier. It is used to access a players all-encompassing skill attributes for various gameplay functions.

Example

local src = source
local skills = exports.dime_skills
local data = skills:grabSkills(src)

Returns:

  • skills: [TABLE] A table containing all the skills and their data for the specified player. If no skills are found, the function will return an empty table.

Note: It is crucial that the player data is correctly initialized and managed to ensure this function retrieves accurate and current information.

Last updated