diff --git a/docs/bastelstube/arma-reforger.md b/docs/bastelstube/arma-reforger.md index 372ecbba..f9357186 100644 --- a/docs/bastelstube/arma-reforger.md +++ b/docs/bastelstube/arma-reforger.md @@ -126,6 +126,9 @@ GetGame().GetPlayerController().GetControlledEntity().SetOrigin(target.GetOrigin // execute locally on players machine; works in MP SCR_Global.TeleportLocalPlayer(target.GetOrigin(), SCR_EPlayerTeleportedReason.DEFAULT); + +// execute on server +SCR_Global.TeleportPlayer(playerId, target.GetOrigin(), SCR_EPlayerTeleportedReason.DEFAULT); ``` ## Scheduled execution