mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[server] Implement/match CGangZonePool::HideForAll(...)
This commit is contained in:
@ -71,3 +71,10 @@ void CGangZonePool::HideForPlayer(PLAYERID playerId, WORD wZone)
|
||||
pNetGame->SendToPlayer(RPC_ScrRemoveGangZone, &bsParams, playerId, 2);
|
||||
}
|
||||
|
||||
void CGangZonePool::HideForAll(WORD wZone)
|
||||
{
|
||||
RakNet::BitStream bsParams;
|
||||
bsParams.Write(wZone);
|
||||
pNetGame->BroadcastData(RPC_ScrRemoveGangZone, &bsParams, INVALID_PLAYER_ID, 2);
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,7 @@ public:
|
||||
void ShowForPlayer(PLAYERID playerId, WORD wZone, DWORD dwColor);
|
||||
void ShowForAll(WORD wZone, DWORD dwColor);
|
||||
void HideForPlayer(PLAYERID playerId, WORD wZone);
|
||||
void HideForAll(WORD wZone);
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Reference in New Issue
Block a user