Oops ;) That's HL2 i'm working on ;)
On Fri, 4 Mar 2005 03:46:49 -0800 (PST), Adam amckern Mckern <[EMAIL PROTECTED]> wrote: > emit sound pPlayer - i dont know if your source, or > hl1 > ^ that is hl 1 > > as for second, take a look at hudmesage cvar (mappers > cvar) > > --- Erik K <[EMAIL PROTECTED]> wrote: > > There are 2 things i'm trying to accomplish at the > > moment. > > > > First I would like to know how to play a sound on > > all players. Right > > now I use the following code to play a sound when a > > player captures a > > flag: > > > > EmitSound( "Flag.Captured" ); > > > > but that only plays the sound on the client if he's > > close enough to > > the captured flag. How do I play a sound on all > > players, no mather how > > far they are away from a captured flag? > > > > Second thing is how to send a UserMessage to all > > clients. I only know > > how to send one to one particular player: > > > > CSingleUserRecipientFilter filter ( this ); // set > > recipient > > filter.MakeReliable(); // reliable transmission > > > > UserMessageBegin( filter, "MyMessage" ); // create > > message > > WRITE_BYTE( 1 ); // fill message > > WRITE_BYTE( 0 ); // fill message > > MessageEnd(); //send message > > > > What do I need to do to send it to all connected > > players? > > > > Thanks in advance, > > > > > > Erikk > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view > > the list archives, please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > http://ammahls.com > > __________________________________ > Celebrate Yahoo!'s 10th Birthday! > Yahoo! Netrospective: 100 Moments of the Web > http://birthday.yahoo.com/netrospective/ > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

