mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[server] Implement CPlayerPool::ResetPlayerScoresAndMoney
This commit is contained in:
parent
313f2c0be0
commit
0ee5413941
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user