play cheer noise on hardpoint payout

This commit is contained in:
Lorenc Pekaj 2018-11-24 05:26:27 +11:00
parent e520129da2
commit f1f487a1b8

View File

@ -300,6 +300,10 @@ hook OnServerGameDayEnd( )
GiveGangCash( g, earnings );
SaveGangData( g );
foreach ( new p : Player ) if ( GetPlayerGang( p ) == g ) {
PlayerPlaySound( p, 36205, 0.0, 0.0, 0.0 );
}
SendClientMessageToGang( g, g_gangData[ g ] [ E_COLOR ], "[GANG] "COL_GOLD"%s"COL_WHITE" has been earned from territories and deposited in the gang bank account.", cash_format( earnings ) );
}
}