fix chat not seen by other players (#2900)

This commit is contained in:
lonelybud 2024-03-31 23:04:41 +05:30 committed by GitHub
parent 6e0358737f
commit fe04dfedf3

View File

@ -21,7 +21,7 @@ namespace
buf.Write<uint8_t>(hnd.m_platform, sizeof(hnd.m_platform) * 8); buf.Write<uint8_t>(hnd.m_platform, sizeof(hnd.m_platform) * 8);
if (hnd.m_platform == rage::rlPlatforms::PC) if (hnd.m_platform == rage::rlPlatforms::PC)
{ {
buf.WriteQWord(hnd.m_rockstar_id, sizeof(hnd.m_rockstar_id) * 8); buf.WriteInt64(hnd.m_rockstar_id, sizeof(hnd.m_rockstar_id) * 8);
buf.Write<uint8_t>(hnd.m_padding, sizeof(hnd.m_padding) * 8); buf.Write<uint8_t>(hnd.m_padding, sizeof(hnd.m_padding) * 8);
} }
} }