Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(info->m_MessageId == GE_SosStartSoundEvent)
- {
- CMsgSosStartSoundEvent* msg = (CMsgSosStartSoundEvent*)pData;
- /*if (msg->soundevent_hash() != -527125825 && msg->soundevent_hash() != 62938228)
- {
- Message("CMsgSosStartSoundEvent: soundevent_guid:%d --- soundevent_hash:%d --- start_time:%f\n", msg->soundevent_guid(),
- msg->soundevent_hash(), msg->start_time());
- }*/
- if (msg->soundevent_hash() == 62938228 || msg->soundevent_hash() == -527125825) // Attacker headshot / body shot sound call back.
- *(uint64*)clients &= ~g_playerManager->GetStopSoundMask();
- if (msg->soundevent_hash() == 2019962436 || msg->soundevent_hash() == -2010269021) // victim headshot shot sound call back.
- *(uint64*)clients &= ~g_playerManager->GetStopSoundMask();
- if (msg->soundevent_hash() == -1847647044 || msg->soundevent_hash() == 856190898) // victim body shot sound call back.
- *(uint64*)clients &= ~g_playerManager->GetStopSoundMask();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement