Back to TPG

TPG.ACE.GetPlayerContraptions

S🏷️ Ace

Part of TPG namespace

TPG.ACE.GetPlayerContraptions(ply)
View on GitHub|gamemode/systems/sv_ace_integration.lua:103-107
📋 Has LDoc👁️ 1 viewsUpdated 1 month ago

Description

All contraptions with at least one entity owned by this player. Backed by the per-tick ContraptionMap cache; ownership is per-owner entity, deduped, so a contraption with entities owned by two different players is credited to both. or owns nothing.

Parameters

NameTypeDescription
plyPlayer

Returns

TypeDescription
tableList of contraption objects; empty if the player is invalid

Examples

No examples available.

Used In

No usages found in the codebase.