Advertisement
Guest User

1d2rsdsf

a guest
Jul 23rd, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. // in worldspawn:
  2. precache_sound(THE_MUSIC);
  3.  
  4.  
  5. // bottom of clientconnect V1:
  6. sound(self, CHAN_MUSIC, THE_MUSIC, 1, ATTN_NORM, 0, 0, 0); // EZQuake PLAYS this
  7.  
  8.  
  9. // bottom of clientconnect V2:
  10. entity the_band = find(world, classname,"rockband");
  11.    
  12.     if(the_band)
  13.     {
  14.         dprint("this prints\n");
  15.         sound(the_band, CHAN_MUSIC, THE_MUSIC, 1, ATTN_NORM, 0, 0, 0); // EZQuake DOESNT PLAY this
  16.  
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement