Page 1 of 1

Problem on Player.Distance, staying at 0

Posted: 25 Jan 2020, 14:38
by Boss-Bravo
Hi all,

I'm starting to develop in Maniascript since this year (2020 resolution :lol: ), everything work perfectly except one value, the distance for every players.
I write this code (from CTmMlScriptIngame) :

Code: Select all

foreach (Player in Players) {
	log(Player.User.Login ^ " : " ^ Player.Distance);
}
Here is the result (both players are running)
Image
Why did i can't see the other players distance except mine ? It stays to 0.

Thanks for help.