mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
21 lines
479 B
C++
21 lines
479 B
C++
|
|
#include "../main.h"
|
|
|
|
//----------------------------------------------------
|
|
|
|
CPlayerPool::CPlayerPool()
|
|
{
|
|
// loop through and initialize all net players to null and slot states to false
|
|
for(PLAYERID playerId = 0; playerId < MAX_PLAYERS; playerId++) {
|
|
m_pPlayers[playerId] = NULL;
|
|
field_2A[playerId] = 0;
|
|
}
|
|
m_pLocalPlayer = new CLocalPlayer();
|
|
field_0 = 0;
|
|
field_22 = 0;
|
|
m_LocalPlayerID = 0;
|
|
field_2F3A = 0;
|
|
}
|
|
|
|
//----------------------------------------------------
|