Back to TPG

TPG.Net.SyncVoteTally

S🏷️ Net

Part of TPG namespace

TPG.Net.SyncVoteTally(counts)
View on GitHub|gamemode/core/sv_networking.lua:156-163
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Broadcast live vote counts per candidate. Each count is clamped to 255 (8-bit field) before sending, so a candidate can't overflow the field on a very large server. list already sent via tpg.net.SyncMapVote.

Parameters

NameTypeDescription
countstableList of vote counts, index-aligned with the candidate

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.