mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
26 lines
628 B
C++
26 lines
628 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);
|
|
void HideForAll(WORD wZone);
|
|
};
|
|
|
|
//----------------------------------------------------
|
|
|
|
#endif
|