Quote:
Originally Posted by talpa
hi can u add round_start and end_round sounds ?
|
Same question. And how to play random sound (sound random from list) on event ?
For example, when round_end, server playing
misc/re1.mp3;
next round_end server will play
misc/re21.mp3 etc. Random. (sorry my bad english, it's stupid to explain what means "random from list", i know..
).
/ADDED
Damn, i think that all events are not supported at this moment
Quote:
/*####FernFerret####*/
// This is where we hook the events that we will use and assign them to functions
HookEvent("player_death", Event_Kill);
HookEventEx("player_spawn",PlayerSpawn);
if (GetGameType() == tf2){
HookEvent("teamplay_flag_event", Event_Flag);
HookEvent("player_chargedeployed", Event_UberCharge);
HookEvent("player_builtobject", Event_Build);
}
/*##################*/
|