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