Back to TPG

TPG.Restrictions.BlockReason

S🏷️ Entrestrictions

Part of TPG namespace

TPG.Restrictions.BlockReason(class)
View on GitHub|gamemode/systems/sv_entrestrictions.lua:61-73
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Why a class is restricted, or nil if it is not. Checks the exact-class table first, then the lowercase family patterns.

Parameters

NameTypeDescription
classstring

Returns

TypeDescription
stringnil if the class is fine, else the human-readable reason.

Examples

No examples available.

Used In

No usages found in the codebase.