According to what I found in some dashboards:
- Tyre IDs for Softs: 16, 20
- ... Mediums: 17, 21
- ... Hards: 18, 22
- ... Wet: 8, 10, 15
- ... Inters; 7
I never tested these as I don't have current tyre in my dashboards, but try verifying these parameters.
Then you have to write a condition like this:
if([DataCorePlugin.GameRawData.PlayerCarStatusData.m_visualTyreCompound]=16 or [DataCorePlugin.GameRawData.PlayerCarStatusData.m_visualTyreCompound]=20, 'Red' ,
if([DataCorePlugin.GameRawData.PlayerCarStatusData.m_visualTyreCompound]=17 or [DataCorePlugin.GameRawData.PlayerCarStatusData.m_visualTyreCompound]=21, 'Yellow' , and so on...
In this way you can create, for example. a circle which colours itself like the current tyre.
Remember to end the cycle with as many closed ) as the open ones ( !