There is any way to set the driftmeter to start pointing from the first chekpoint and finish with the finish point and how can I change the colour of the drift meter windows ?. All is good now ... I'll have some questions but now is enough this.
ThX sinanju u r the best !
Probably not without a re-write of the code or something like deleting any points when reaching first split. Something like
<?php CatchEvent OnSplit1( $userName ) # Player event IF ( $DriftScore > 0 ) THEN $DriftScore=0 ENDIF
IF ( $LastDriftScore > 0 ) THEN $LastDriftScore=0 ENDIF
EndCatchEvent ?>
To add this to the driftmeter.lpr file, copy all above code.
Open the driftmeter.lpr file and search for line that starts
CatchEvent OnGoodDrift
Paste the already copied code into the driftmeter.lpr file and then save file.
Drifting score finishes at end of a lap - so will stop at the finish point in a layout.
You can only choose between clear background, light grey background or dark background.
(you can play around with one coloured background on another to give slight difference, like dark on dark will give almost black background).
If you're looking for green, white, red, blue, purple, etc., background then I suggest you look for my circular driftmeter code as that was the only way I could get proper coloured buttons to work. See attached image. Code HERE.
If you want to change the light and dark grey backgrounds in the normal driftmeter then look for the following code
Instead of main_midnight shouldn't be SA_mid ??? I cant understand the relation between main and SA ... You could help me in this ?
I'd like to know how could I do that after a lap what is my Rank in the list of players in the server .... So after every lap done I want to see the message: "You are 2nd in the top list in this server". ... ! Is this possible ?
P.S. :
After adding the line what u pasted in php code i have the following error ....
Lapper Instance abort, Go in standBy mode. Look at log file :./default/logs/127.
0.0.1-29999-ERR.log
SA_mid is the sub-routine for the Schedule Action, but main_midnight is the language file (if you continued your search, you would have found main_midnight = "Minuit, attention aux travailleurs!"; in the French language section, etc).
Best to make your own RegisterScheduleAction along with a sub-routine.
<?php Sub SA_facebook() globalRcm( langEngine( "%{main_facebook}%" ) ); EndSub ?>
(Sub-routine goes after the line EndEvent).
A globalRCM will put large message in middle of screen, which everyone will see. If you don't want message in middle of screen, try changing globalRCM to globalMsg.
It's already part of a menu structure code that I released - look HERE.
Top times are under 'User Switchboard'.
Nothing to stop you just taking the relevant pieces of code and pasting into your LFSLapper.lpr config file (if you feel confident enough about what you're doing).
Using PBDrift instead of PosAbs (!drf instead of !top) is probably best you can do, but this will only show your personal best points - not where you stand in the table compared to others.
Forget about the Drifting top list ... My new question is how could I do that on practice ex: on AU1 and the track have finish line show the drifting score. Because it only shows when the laps enabled if /laps 1 or 10 the drifscore is showed but if not there is nothing happening. ... All about this the Lapper is working very good and you are the best !!!