mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Update DumpNetworkStateInformation(...)
This commit is contained in:
parent
fd560201f4
commit
41db70ac88
@ -14,6 +14,7 @@ extern CNetGame *pNetGame;
|
|||||||
extern CChatWindow *pChatWindow;
|
extern CChatWindow *pChatWindow;
|
||||||
extern DWORD dwScmOpcodeDebug;
|
extern DWORD dwScmOpcodeDebug;
|
||||||
extern BOOL bScmLocalDebug;
|
extern BOOL bScmLocalDebug;
|
||||||
|
extern BYTE *pbyteCurrentPlayer;//internal GTA FindPlayerPed() number
|
||||||
extern int iGtaVersion;
|
extern int iGtaVersion;
|
||||||
extern WORD wLastRendObj;
|
extern WORD wLastRendObj;
|
||||||
extern WORD wVehicleComponentDebug;
|
extern WORD wVehicleComponentDebug;
|
||||||
@ -25,6 +26,13 @@ int dword_10125A58=0;
|
|||||||
|
|
||||||
void DumpNetworkStateInformation(PCHAR sz)
|
void DumpNetworkStateInformation(PCHAR sz)
|
||||||
{
|
{
|
||||||
|
CPlayerPool *pPlayerPool = pNetGame->GetPlayerPool();
|
||||||
|
PLAYERID playerId=0;
|
||||||
|
|
||||||
|
sz[0] = '\0';
|
||||||
|
|
||||||
|
sprintf(sz,"\r\nState Information: Ped Context: %u\r\n",*pbyteCurrentPlayer);
|
||||||
|
|
||||||
// TODO: DumpNetworkStateInformation 10060160
|
// TODO: DumpNetworkStateInformation 10060160
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user