Quote (Smartaros)
Можно ли проиграть звук локально?
Даже БЖ есть
Code
function Trig_sound_Actions takes nothing returns nothing
local player p = Player(0)
call StartSoundForPlayerBJ(p,gg_snd_sound)
call BJDebugMsg("Sound")
endfunction
//===========================================================================
function InitTrig_sound takes nothing returns nothing
set gg_trg_sound = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_sound, Player(0), "1", true )
call TriggerRegisterPlayerChatEvent( gg_trg_sound, Player(1), "1", true )
call TriggerAddAction( gg_trg_sound, function Trig_sound_Actions )
endfunction