Author Message

adnan54

br
Posts: 289

Location: Brazil
Occupation: student
Age: 24
V$:
#138228   2018-03-03 05:01          
I've used the following "script":

if (playerspeed>80)
{
	RawEdit.setF(player.car.chassis.getIndexedAddr(Chassis.IndexedData_ThrottleStrength),0.0);
	RawEdit.setF(player.car.chassis.getIndexedAddr(Chassis.IndexedData_BreakStrength),1.0);
}

it keeps the car near to the designated speed, but sometimes the car speed slowly increase (and also the car engine sounds weird).

Limiting the speed in the spl would help me too (i had read about it sometime ago, but cant remember where(and also i cant remember the correct "syntax" for spl files))
Something wrong is not right.