Example: sp_encoder1..7 force an immediate resend (no slap needed)
The encoder demos register a uniform spoof, but CS2 only re-transmits a field when it actually changes, so the fake didn't appear until something moved the value (e.g. a slap). Add ForceResendAll: after SetUniform, mark the field dirty on every real player via IBaseEntity.NetworkStateChanged so it re-transmits on the next snapshot and the uniform encoder hook fakes it immediately — entirely from the plugin. Routes to the controller for CCSPlayerController fields, the pawn otherwise. Skips bots/HLTV (no screen, never sent snapshots). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
P
Prefix committed
a2675d0ab26c287aa89f74ac8b26d01a9d181b91
Parent: fb253a9