Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Function findPlayerPosition(playerName As String) As Vector3
- For Each p As var In Game.PlayerList
- If p.Name = playerName Then
- Return p.Character.Position
- End If
- Next
- Return New Vector3()
- End Function
- EXAMPLE: Vector3 playerPosition = findPlayerPosition("tjackisen");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement