diff --git a/server/gangzonepool.cpp b/server/gangzonepool.cpp index e0ec117..43e98b4 100644 --- a/server/gangzonepool.cpp +++ b/server/gangzonepool.cpp @@ -103,3 +103,9 @@ void CGangZonePool::StopFlashForPlayer(PLAYERID playerId, WORD wZone) pNetGame->SendToPlayer(RPC_ScrStopFlashGangZone, &bsParams, playerId, 2); } +void CGangZonePool::StopFlashForAll(WORD wZone) +{ + RakNet::BitStream bsParams; + bsParams.Write(wZone); + pNetGame->BroadcastData(RPC_ScrStopFlashGangZone, &bsParams, INVALID_PLAYER_ID, 2); +} diff --git a/server/gangzonepool.h b/server/gangzonepool.h index ac4aecb..d8be82b 100644 --- a/server/gangzonepool.h +++ b/server/gangzonepool.h @@ -21,6 +21,7 @@ public: void FlashForPlayer(PLAYERID playerId, WORD wZone, DWORD dwColor); void FlashForAll(WORD wZone, DWORD dwColor); void StopFlashForPlayer(PLAYERID playerId, WORD wZone); + void StopFlashForAll(WORD wZone); }; //----------------------------------------------------