mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[server] Implement/match CGangZonePool::StopFlashForPlayer(...)
This commit is contained in:
parent
cbc0c870be
commit
943fc3e5e8
@ -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);
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user