mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-10 11:19:41 +08:00
[server] Implement/match CGangZonePool::StopFlashForAll(...)
This commit is contained in:
parent
943fc3e5e8
commit
473e9a76e5
@ -103,3 +103,9 @@ void CGangZonePool::StopFlashForPlayer(PLAYERID playerId, WORD wZone)
|
||||
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 FlashForAll(WORD wZone, DWORD dwColor);
|
||||
void StopFlashForPlayer(PLAYERID playerId, WORD wZone);
|
||||
void StopFlashForAll(WORD wZone);
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user