mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 19:53:04 +08:00
[saco] Implement/match CLocalPlayer::Say
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user