Skip to content

Commit

Permalink
Update arma-reforger.md
Browse files Browse the repository at this point in the history
  • Loading branch information
y0014984 authored Nov 30, 2023
1 parent df657bc commit 46031c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bastelstube/arma-reforger.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ 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
// alternative syntax
SCR_Global.TeleportPlayer(playerId, target.GetOrigin(), SCR_EPlayerTeleportedReason.DEFAULT);
```

Expand Down

0 comments on commit 46031c2

Please sign in to comment.