Trackmania.Event.GiveUp sent even after crossing the final line in Rounds/Cup

Moderator: NADEO

Post Reply
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Trackmania.Event.GiveUp sent even after crossing the final line in Rounds/Cup

Post by jonthekiller »

I notice that if a player finish a round in Rounds/Cup mode, and press the GiveUp button, the "Trackmania.Event.GiveUp" callback is still sending to the controller.

Is it the normal behavior?

It results that inside my "CP Live" widget on ManiaControl, can display a DNF even if the player finish the round. If it's normal, I need to test if the player has finish the round.
Image
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: Trackmania.Event.GiveUp sent even after crossing the final line in Rounds/Cup

Post by Eole »

Yes, it is the normal behavior.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest