Level and Skills {{ currentPage ? currentPage.title : "" }}

Hooks:

RDV.LEVELS.INFO.PreSetLevel

  1. CLIENT (PLAYER)

  2. LEVEL (INT)

  3. CHARACTER (INT)

RDV.LEVELS.INFO.SetLevel

  1. CLIENT (PLAYER)

  2. LEVEL (INT)

  3. CHARACTER (INT)

RDV.LEVELS.INFO.PreEarnExperience

  1. CLIENT (PLAYER)

  2. EXPERIENCE (INT)

  3. CHARACTER (INT)

RDV.LEVELS.INFO.EarnExperience

  1. CLIENT (PLAYER)

  2. EXPERIENCE (INT)

  3. CHARACTER (INT)

RDV.LEVELS.INFO.PlayerSave

  1. CLIENT (PLAYER)

  2. DATA (TABLE)

  3. CHARACTER (INT)

RDV.LEVELS.INFO.PreGiveSkill

  1. CLIENT (PLAYER)

  2. SKILL (STRING)

  3. TIER (INT)

  4. CHARACTER (INT)

RDV.LEVELS.INFO.GiveSkill

  1. CLIENT (PLAYER)

  2. SKILL (STRING)

  3. TIER (INT)

  4. CHARACTER (INT)

RDV.LEVELS.INFO.PrePlayerGivePoints

  1. CLIENT (PLAYER)

  2. POINTS (INT)

  3. CHARACTER (INT)

RDV.LEVELS.INFO.PlayerGivePoints

  1. CLIENT (PLAYER)

  2. POINTS (INT)

  3. CHARACTER (INT)

Functions

RDV.LEVELS.INFO.GetRequiredXP(LEVEL [INT])

  • Returns the amount of experience required to reach the provided level.

RDV.LEVELS.INFO.GetExperience(CLIENT [PLAYER], CHARACTER [INT])

  • Returns the amount of experience a player holds, doesn’t return other players values on client (unless RDV.LEVELS.CFG.ExpPVS is set to true (version 24))!

RDV.LEVELS.INFO.GetLevel(CLIENT [PLAYER], CHARACTER [INT])

  • Returns the level of the player provided.

RDV.LEVELS.INFO.GetPoints(CLIENT [PLAYER], CHARACTER [INT])

  • Returns the amount of skillpoints a player holds, doesn’t return other players values on client!

RDV.LEVELS.INFO.SetLevel(CLIENT [PLAYER], LEVEL [INT], CHARACTER [INT])

  • Sets the clients level.

RDV.LEVELS.INFO.AddExperience(CLIENT [PLAYER], EXPERIENCE [INT], CHARACTER [INT])

  • Adds experience points to a client.

RDV.LEVELS.INFO.Save(CLIENT [PLAYER], CHARACTER [INT])

  • Initializes a Database save.

RDV.LEVELS.SKILLS.GetSkills(CLIENT [PLAYER], CHARACTER [INT])

  • Returns the players skills in a table.

RDV.LEVELS.SKILLS.GetSkillTier(CLIENT [PLAYER], SKILL [STRING], CHARACTER [INT])

  • Returns the tier of a skill held by the client.

RDV.LEVELS.SKILLS.HasSkill(CLIENT [PLAYER], SKILL [STRING], CHARACTER [INT])

  • Returns whether or not the player has a skill.

RDV.LEVELS.SKILLS.GiveSkill(CLIENT [PLAYER], SKILL [STRING], TIER [INT], CHARACTER [INT])

  • Applies a skill to the client with the following tier.

RDV.LEVELS.SKILLS.GivePoints(CLIENT [PLAYER], POINTS [INT], CHARACTER [INT])

  • Adds skill-points to the client.

RDV.LEVELS.SKILLS.ResetSkills(CLIENT [PLAYER], CHARACTER [INT])

  • Resets the clients skills down to 0 and refunds skill-points.

{{{ content }}}