jajavst 0 Posted yesterday at 09:46 AM I want to add a surrender action to a MP script. If I shout to a cursortarget I want the cursortarget to surrender. private _hup = cursorTarget; _hup action ["Surrender", _hup]; This code works but I want it to work on a dedicated server. private _hup = cursorTarget; [_hup, "surrender"] remoteExec ["action", _hup]; I tried this code using remoteExec but it doesn't work, I can't figure out how to remoteExec "action". Is there someone that could help me? Share this post Link to post Share on other sites
Schatten 285 Posted yesterday at 12:05 PM [_hup, ["Surrender", _hup]] remoteExec ["action", _hup]; 1 Share this post Link to post Share on other sites
jajavst 0 Posted 16 hours ago This worked, thanks a lot! Share this post Link to post Share on other sites