Back to TPG

TPG.Net.SyncState

S🏷️ Net

Part of TPG namespace

TPG.Net.SyncState(target)
View on GitHub|gamemode/core/sv_networking.lua:33-39
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Send the game type and both teams' scores. Sent to everyone at round setup, or to a single joining client in response to TPG_RequestState (see the net.Receive below).

Parameters

NameTypeDescription
target?PlayerRecipient, or nil to broadcast.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.