Jump to content
Sign in to follow this  
jajavst

remoteExec action "surrender"

Recommended Posts

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×