Problem on Player.Distance, staying at 0
Posted: 25 Jan 2020, 14:38
Hi all,
I'm starting to develop in Maniascript since this year (2020 resolution
), everything work perfectly except one value, the distance for every players.
I write this code (from CTmMlScriptIngame) :
Here is the result (both players are running)

Why did i can't see the other players distance except mine ? It stays to 0.
Thanks for help.
I'm starting to develop in Maniascript since this year (2020 resolution

I write this code (from CTmMlScriptIngame) :
Code: Select all
foreach (Player in Players) {
log(Player.User.Login ^ " : " ^ Player.Distance);
}

Why did i can't see the other players distance except mine ? It stays to 0.
Thanks for help.