The online racing simulator
RearWheelsAdj
(5 posts, closed, started )
RearWheelsAdj
RearWheelsAdj, //Size of fearwheels when 'alternate' setup is selected
FrontwheelsAdj, //Size of frontwheels when 'alternate' setup is selected

Hello I need help wit this. I cant get any data what tires player is using how this works...
I mean something like that:


<?php 
Event OnNewPlayerJoin
$userName )
    
$RWAdj GetCurrentPlayerVar"RearWheelsAdj" );
    IF (
$RWAdj == )
    
THEN
        cmdLFS
"/spec " GetCurrentPlayerVar("UserName") );  
    ENDIF
EndEvent
?>


#3 - Racon
The value is different depending on car, and also front/rear in the case of FZR.

Here's a reference:

FXR
0 => 325/35R18
1 => 315/35R18
2 => 305/40R18
3 => 295/40R18
4 => 285/40R18
5 => 275/45R18
6 => 265/45R18
7 => 255/45R18
8 => 245/50R18

XRR
0 => 325/35R18
1 => 315/35R18
2 => 305/40R18
3 => 295/40R18
4 => 285/40R18
5 => 275/40R18
6 => 265/45R18
7 => 255/45R18
8 => 245/45R18

FZR front
0 => 295/35R18
1 => 285/40R18
2 => 275/40R18
3 => 265/40R18
4 => 255/40R18
5 => 245/45R18
6 => 235/45R18
7 => 225/50R18

FZR rear
0 => 355/30R18
1 => 345/30R18
2 => 335/30R18
3 => 325/35R18
4 => 315/35R18
5 => 305/35R18
6 => 295/35R18
7 => 285/40R18
8 => 275/40R18
9 => 265/40R18

UFR
0 => 215/45R11
1 => 205/45R11
2 => 195/50R11
3 => 185/50R11
4 => 175/55R11
5 => 165/60R11

XFR
0 => 215/40R15
1 => 205/40R15
2 => 195/45R15
3 => 185/45R15
4 => 175/50R15
5 => 165/50R15

** Best answer **
I have made a typo in the sourcecode, means the playervar was empty all times when the player is requesting for it.

This bug is fixed, ill release a new LFSLapper version asap.

RearWheelsAdj and FrontWheelsAdj will output the tyresize between 0 - 8

Thx Racon for making the list.
#5 - Racon
Np, np Wink

PS: The FZR rear sizes go up to 9
This thread is closed

RearWheelsAdj
(5 posts, closed, started )
FGED GREDG RDFGDR GSFDG