SA-MP/server/gangzonepool.h

25 lines
598 B
C++

#ifndef SAMPSRV_GANGZONEPOOL_H
#define SAMPSRV_GANGZONEPOOL_H
//----------------------------------------------------
class CGangZonePool
{
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);
};
//----------------------------------------------------
#endif