TPG.Voting.VoteScramble(ply)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Register ply's scramble vote and scramble teams once enough players agree. Same shape as TPG.Voting.RockTheVote: any connected player counts, threshold is max(ceil(totalPlayers * TPG.Config.scramblePercent), 2), recomputed on every vote, and there is no un-vote. Passing calls TPG.PlayerTeams.ScrambleAll() (a different module, not documented here) directly and immediately, mid-round.
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player | The voter. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.