hey i want to finish my race system with car restrictions like 5% intake restrictions but how would i set it up?
<?php
#Syntax :
#
#$HandicapCarsTracks = "car/track:mass:irest,car/track:mass:irest,...,car/track:mass:irest";
#
#car : LFS short car name
#track : LFS short track name
#mass : mass handicap in kg
#irest : Air intake restriction in percent
$HandicapCars = "UFR:0:30,XFR:0:30";
?>
<?php
$HandicapCars = "$car:$mass:$intake";
?>
<?php
$HandicapCars = "$car:$mass:$intake";
?>
<?php
// Setup flags (for SetF byte)
#define SETF_SYMM_WHEELS 1
#define SETF_TC_ENABLE 2
#define SETF_ABS_ENABLE 4
?>
<?php
public NPL(byte[] pak)
{
PLID = pakGetByte( pak, 3);
UCID = pakGetByte( pak, 4 );
PType = pakGetByte( pak, 5 );
Flags = pakGetWord(pak, 6);
nickName = pakGetString(pak, 8, 24);
Plate = pakGetString(pak, 32, 8);
CName = pakGetString(pak, 40, 4);
SName = pakGetString(pak, 44, 16);
TyreRearLeft = (tyre)pakGetByte(pak, 60 );
TyreRearRight = (tyre)pakGetByte(pak, 61);
TyreFrontLeft = (tyre)pakGetByte(pak, 62);
TyreFrontRight = (tyre)pakGetByte(pak, 63);
H_Mass = pakGetByte(pak, 64);
H_TRes = pakGetByte(pak, 65);
Pass = pakGetByte(pak, 67);
// SetF should be read here!!!!
NumP = pakGetByte(pak, 73);
}
?>