Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // in worldspawn:
- precache_sound(THE_MUSIC);
- // bottom of clientconnect V1:
- sound(self, CHAN_MUSIC, THE_MUSIC, 1, ATTN_NORM, 0, 0, 0); // EZQuake PLAYS this
- // bottom of clientconnect V2:
- entity the_band = find(world, classname,"rockband");
- if(the_band)
- {
- dprint("this prints\n");
- sound(the_band, CHAN_MUSIC, THE_MUSIC, 1, ATTN_NORM, 0, 0, 0); // EZQuake DOESNT PLAY this
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement