View Single Post
omgiafs
Junior Member
Join Date: Jul 2008
Location: Russia
Old 12-31-2008 , 09:15   Re: Say Sounds (including Hybrid Edition) (3.0.6)
Reply With Quote #29

Quote:
Originally Posted by talpa View Post
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);
}
/*##################*/

Last edited by omgiafs; 12-31-2008 at 09:20.
omgiafs is offline
Send a message via ICQ to omgiafs Send a message via Skype™ to omgiafs