IF (difx <= 20) and (dify <= 20) #If my car is close enough to the front car (rear doesn't matter yet)
THEN $multi = ((difx+dify)/2)^-1)*(7); #multiplier IF (multi >=5) # THEN # MULTIPLIER LIMIT set to 5 multi =5; # ENDIF $midrift =($yo["DriftScore"]) + (($yo["LastDriftScore"])*multi-($adelante["LastDriftScore"])); #Final drift score ENDIF ?>
Am I going right? I'm missing something? Sorry for the inconvenience. I'm really n00b at this.
Last edited by EHR11, .
Reason : Some orthographic errors.
Hi all.
I'm new on this of LFSlapper programming and I've wanted to make a Twin drift competition scorer. I've seen in some servers like Lislon DRIFT, a config capable to multiply drift points according to the distance between cars.
Anybody knows how to measure this distance on LFSLapper?