Doctor-Peppe
New Member
- Reaction score
- 0
i found a jass code on the web, but have no idear how to adjust it to my map. So the thing is: When a player types -test as an exact match than play sound for all allience of the triggering player. Here is the code i have sofar
function PlaySoundForPlayer takes player whichPlayer, sound whichSound returns nothing
if ( whichPlayer == GetLocalPlayer() ) then
call PlaySoundBJ( whichSound )
endif
endfunction
function PlaySoundForPlayer takes player whichPlayer, sound whichSound returns nothing
if ( whichPlayer == GetLocalPlayer() ) then
call PlaySoundBJ( whichSound )
endif
endfunction