mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-12 02:08:14 +08:00
[server] Implement/match CGangZonePool::FlashForPlayer(...)
This commit is contained in:
1 parent
e95d96467d
commit
50cd412a00
2 files changed
+10
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user