mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[server] Implement/match CGangZonePool::FlashForPlayer(...)
This commit is contained in:
parent
e95d96467d
commit
50cd412a00
@ -78,3 +78,12 @@ void CGangZonePool::HideForAll(WORD wZone)
|
||||
pNetGame->BroadcastData(RPC_ScrRemoveGangZone, &bsParams, INVALID_PLAYER_ID, 2);
|
||||
}
|
||||
|
||||
void CGangZonePool::FlashForPlayer(PLAYERID playerId, WORD wZone, DWORD dwColor)
|
||||
{
|
||||
RakNet::BitStream bsParams;
|
||||
bsParams.Write(wZone);
|
||||
dwColor = RGBA_ABGR(dwColor);
|
||||
bsParams.Write(dwColor);
|
||||
pNetGame->SendToPlayer(RPC_ScrFlashGangZone, &bsParams, playerId, 2);
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,7 @@ public:
|
||||
void ShowForAll(WORD wZone, DWORD dwColor);
|
||||
void HideForPlayer(PLAYERID playerId, WORD wZone);
|
||||
void HideForAll(WORD wZone);
|
||||
void FlashForPlayer(PLAYERID playerId, WORD wZone, DWORD dwColor);
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user