 |
|
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
|

09-17-2004
, 17:19
|
#2
|
found a way for 1)
a)
just use
#define SND_STOP (1<<5)
emit_sound(id, CHAN_STREAM, "xyz.wav", 0.0, ATTN_NORM, SND_STOP, PITCH_NORM)
b)
when player connects i check every second until his gametime is bigger zero (can be done with a constant time but when player connects too long it wont work)
then when player is in game i use emit_sound(id, CHAN_STREAM, "xyz.wav"...)
it is important to have in first call of emit_sound CHAN_STREAM and in this one too, otherwise there can be multiple wavs played at once (very annoying)
now i need only help with 2)
__________________
alias White Panther
|
|
|
|