The online racing simulator
Thanks Gai, I'll have an experiment with that and get back to you
Another one

I have had a look through the documentation I have - and can't find what I'm looking for.

This part:

$DriftDatabase = "./DriftPB";
$MinimumDriftSpeed = 30; # Minimum speed in km/h to maintain. Driving below that speed will reset score
$MinimumDriftAngle = 15; # Minimum angle to maintain. When angle is below value, score is reset
$MaximumDriftAngle = 210; # Maximum angle to maintain. When angle is above value, score is reset

Is there somrthing in Lapper that allows me to perform an action on drift score reset - perhaps something like OnDriftScoreReset:

Quote :Event OnDriftScoreRest( $userName ) # Player event
openPrivButton( "resetscore",50,5,100,7,10,10,0,"SCORE RESET");
EndEvent

In fact, I'll try that and see what happens
Didn't work - in fact, it stopped my LangEngines working, lol.
Maybe you should thing of trying a IF - THEN - ELSE - ENDIF function.

e.g.

IF $MinimumDriftSpeed < 30

THEN

$DriftScore = 0
openPrivButton( "resetscore",50,5,100,7,10,10,0,"SCORE RESET");


ELSE

ENDIF


or

IF $MaximumDriftAngle > 210

THEN

$DriftScore = 0
openPrivButton( "resetscore",50,5,100,7,10,10,0,"SCORE RESET");

ELSE

ENDIF

<?php 
Event OnDriftScoreReset
$userName # Player event
       
openPrivButton"resetscore",50,5,100,7,10,10,0,"SCORE RESET");
  
EndEvent
?>


u missed an e in reset but istill dk if it would work :/

FGED GREDG RDFGDR GSFDG