mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[server] Implement CPlayerPool::ResetPlayerScoresAndMoney
This commit is contained in:
@@ -35,6 +35,11 @@ public:
|
||||
|
||||
BOOL Delete(PLAYERID playerId, BYTE byteReason);
|
||||
|
||||
void ResetPlayerScoresAndMoney() {
|
||||
memset(&m_iPlayerScore[0],0,sizeof(int) * MAX_PLAYERS);
|
||||
memset(&m_iPlayerMoney[0],0,sizeof(int) * MAX_PLAYERS);
|
||||
memset(&m_iVirtualWorld[0],0,sizeof(int) * MAX_PLAYERS);
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user