If you need to use a local command in multiplayer, make a script containing that command, make it a function and call it with bis_fnc_mp.
For example, I needed to make my soldiers speak British English:
myScript.sqf
Add as function in description.ext:
Functions Library (Arma_3)
Use inside mission with BIS_fnc_MP
For example, I needed to make my soldiers speak British English:
myScript.sqf
Quote:_unit = _this select 0;
_speakerType = _this select 1;
_unit setSpeaker _speakerType;
Add as function in description.ext:
Functions Library (Arma_3)
Use inside mission with BIS_fnc_MP
Quote:[[myUnit,"Male04ENGB"],"myTag_fnc_myFunction"] call BIS_fnc_MP;