mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user