SA-MP/server/gangzonepool.h

26 lines
628 B
C
Raw Normal View History

2023-10-29 22:26:43 +08:00
#ifndef SAMPSRV_GANGZONEPOOL_H
#define SAMPSRV_GANGZONEPOOL_H
//----------------------------------------------------
class CGangZonePool
2023-10-29 22:26:43 +08:00
{
private:
float m_fGangZone[MAX_GANG_ZONES][4];
BOOL m_bSlotState[MAX_GANG_ZONES];
public:
CGangZonePool();
~CGangZonePool() {};
WORD New(float fMinX, float fMinY, float fMaxX, float fMaxY);
void Delete(WORD wZone);
void ShowForPlayer(PLAYERID playerId, WORD wZone, DWORD dwColor);
void ShowForAll(WORD wZone, DWORD dwColor);
void HideForPlayer(PLAYERID playerId, WORD wZone);
void HideForAll(WORD wZone);
2023-10-29 22:26:43 +08:00
};
//----------------------------------------------------
2023-10-29 22:26:43 +08:00
#endif