[saco] Implement/match CLocalPlayer::Say

This commit is contained in:
ricardoofnl
2026-08-02 09:39:56 +07:00
parent 3249d34ec3
commit bfb3801491
+6 -1
View File
@@ -83,7 +83,12 @@ void CLocalPlayer::ResetAllSyncAttributes()
void CLocalPlayer::Say(PCHAR szText)
{
// TODO: CLocalPlayer::Say .text:10005A10
BYTE byteTextLength = strlen(szText);
RakNet::BitStream bsSend;
bsSend.Write(byteTextLength);
bsSend.Write(szText, byteTextLength);
pNetGame->GetRakClient()->RPC(RPC_Chat, &bsSend, HIGH_PRIORITY, RELIABLE, 0, FALSE);
}
//----------------------------------------------------------