mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-04 12:44:03 +00:00
05c50379c2
* Add CPlayerPool::Delete() stub
33 lines
680 B
C++
33 lines
680 B
C++
|
|
#include "main.h"
|
|
extern CNetGame *pNetGame;
|
|
|
|
CPlayerPool::CPlayerPool()
|
|
{
|
|
for(PLAYERID playerId = 0; playerId < MAX_PLAYERS; playerId++) {
|
|
m_bPlayerSlotState[playerId] = FALSE;
|
|
field_2599C[playerId] = 0;
|
|
field_23A5C[playerId] = 0;
|
|
field_3E8C[playerId] = pNetGame->GetTime();
|
|
}
|
|
field_30964 = 0;
|
|
field_30968 = 0;
|
|
field_FA0 = pNetGame->GetTime();
|
|
field_FA4 = 0;
|
|
field_FA8 = 0;
|
|
field_3096C = 0;
|
|
}
|
|
|
|
CPlayerPool::~CPlayerPool()
|
|
{
|
|
for(PLAYERID playerId = 0; playerId < MAX_PLAYERS; playerId++) {
|
|
Delete(playerId,0);
|
|
}
|
|
}
|
|
|
|
BOOL CPlayerPool::Delete(PLAYERID playerId, BYTE byteReason)
|
|
{
|
|
// TODO: CPlayerPool::Delete W .text:00466570 L .text:080D0A90
|
|
return FALSE;
|
|
}
|