Показать сообщение отдельно

  #9  
Старый 24.12.2020, 15:28
RazorRw
Флудер
Регистрация: 16.09.2019
Сообщений: 2,013
С нами: 3505395

Репутация: 183


По умолчанию

Цитата:
Сообщение от AdCKuY_DpO4uLa  

у меня есть структура PlayerPool для R1

C++:





Код:
struct
stPlayerPool
{
uint32_t
MaxPlayerID
;
//???? not tested
uint16_t
sLocalPlayerID
;
void
*
pVTBL_txtHandler
;
union
{
char
szLocalPlayerName
[
16
]
;
char
*
pszLocalPlayerName
;
}
;
int
iLocalPlayerNameLen
;
int
iLocalPlayerNameAllocated
;
struct
stLocalPlayer
*
pLocalPlayer
;
int
iLocalPlayerPing
;
int
iLocalPlayerScore
;
struct
stRemotePlayer
*
pRemotePlayer
[
SAMP_MAX_PLAYERS
]
;
int
iIsListed
[
SAMP_MAX_PLAYERS
]
;
uint32_t
ulUnk1
[
SAMP_MAX_PLAYERS
]
;
}


можете дать такую же структуру, но для R3?
C++:





Код:
enum
{
MAX_PLAYERS
=
1004
}
;
int
m_nLargestId
;
CPlayerInfo
*
m_pObject
[
MAX_PLAYERS
]
;
BOOL         m_bNotEmpty
[
MAX_PLAYERS
]
;
BOOL         m_bPrevCollisionFlag
[
MAX_PLAYERS
]
;
struct
SAMPAPI_EXPORT
{
int
m_nPing
;
int
m_nScore
;
ID  m_nId
;
std
::
string   m_szName
;
CLocalPlayer
*
m_pObject
;
}
m_localInfo
;
 
Ответить с цитированием