mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
20 lines
432 B
C++
20 lines
432 B
C++
|
|
#include "../main.h"
|
|
|
|
//----------------------------------------------------
|
|
|
|
CPlayerPool::CPlayerPool()
|
|
{
|
|
field_7163 = 0;
|
|
field_8107 = 0;
|
|
|
|
// loop through and initialize all net players to null and slot states to false
|
|
for(PLAYERID playerId = 0; playerId < MAX_PLAYERS; playerId++) {
|
|
field_0[playerId] = 0;
|
|
field_7167[playerId] = 0;
|
|
field_810B[playerId] = 0;
|
|
}
|
|
}
|
|
|
|
//----------------------------------------------------
|