Jump to content
kerozen

Play sound with addaction

Recommended Posts

I don't know much about scripting. Things always work in single player but as soon as i test in multiplayer everything is broken...

 

How can i add an addaction to a laptop for a dedicated server?

 

I want to activate a sound (played on another object) from a laptop.

 

This is the activation i had on a trigger:
toc = [[laptop, ["Toque Formatura","toque.sqf"]],"addAction",true,true] call BIS_fnc_MP;

toque.sqf:

 

if (!isServer) exitWith {};

[Loudspeakers, "formar", 300] call CBA_fnc_globalSay3d;

 

It works in singleplayer but no MP

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×