Back to TPG

TPG.GetRankProgress

S🏷️ Ranks

Part of TPG namespace

TPG.GetRankProgress(rating)
View on GitHub|gamemode/config/sh_ranks.lua:65-74
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Progress through the current rank toward the next, for progress bars. is no next tier to measure progress toward. ladder.

Parameters

NameTypeDescription
rating?number(default: 1000)

Returns

TypeDescription
numberProgress from 0 to 1. Always 1 at the top rank, since there
tableThe next rank entry, or nil when already at the top of the

Examples

No examples available.

Used In

No usages found in the codebase.