Jump to content
Sign in to follow this  
mr_shadow

Player sidechat in MP

Recommended Posts

Hello guys, I would like to know how should look the command in MP if i want the player to press on acion and then execute in sidechat a message for example "Unit327 : I need backup", so the other players will see his name too. The thing i do not know is how it should be executed exactly.

Share this post


Link to post
Share on other sites

initplayerLocal.sqf  Event Scripts

player addAction ["Need Backup!",
{
  _caller = (_this select 1);
  [_caller,"I need backup"] remoteExec ["sideChat",-2];
}];

remoteExec

addAction

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
Sign in to follow this  

×