Back to TPG

TPG.ACE.GetPlayerPointsByType

S🏷️ Ace

Part of TPG namespace

TPG.ACE.GetPlayerPointsByType(ply, refresh)
View on GitHub|gamemode/systems/sv_ace_integration.lua:181-203
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Points broken down by category (Armor, Engines, Firepower, Fuel, Ammo, Crew, Electronics). See TPG.ACE.GetPlayerPoints for what refresh costs. always present, even at 0; any other category ACE reports on con.ACEPointsPerType is also summed in and appears as an extra key.

Parameters

NameTypeDescription
plyPlayer
refresh?booleanForce a rebuild before reading.(default: false)

Returns

TypeDescription
tableCategory name to point total. The seven categories above are

Examples

No examples available.

Used In

No usages found in the codebase.