Problem on Player.Distance, staying at 0

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
Posts: 248
Joined: 10 Jan 2011, 18:26
Location: Devant mon PC :D

Problem on Player.Distance, staying at 0

Post by Boss-Bravo » 25 Jan 2020, 14:38

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)
Why did i can't see the other players distance except mine ? It stays to 0.

Thanks for help.

Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests