mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[server] Implement/match CGangZonePool::StopFlashForAll(...)
This commit is contained in:
@ -103,3 +103,9 @@ void CGangZonePool::StopFlashForPlayer(PLAYERID playerId, WORD wZone)
|
|||||||
pNetGame->SendToPlayer(RPC_ScrStopFlashGangZone, &bsParams, playerId, 2);
|
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);
|
||||||
|
}
|
||||||
|
@ -21,6 +21,7 @@ public:
|
|||||||
void FlashForPlayer(PLAYERID playerId, WORD wZone, DWORD dwColor);
|
void FlashForPlayer(PLAYERID playerId, WORD wZone, DWORD dwColor);
|
||||||
void FlashForAll(WORD wZone, DWORD dwColor);
|
void FlashForAll(WORD wZone, DWORD dwColor);
|
||||||
void StopFlashForPlayer(PLAYERID playerId, WORD wZone);
|
void StopFlashForPlayer(PLAYERID playerId, WORD wZone);
|
||||||
|
void StopFlashForAll(WORD wZone);
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user