rf2 Leaderboard Car...
 
Notifications
Clear all

rf2 Leaderboard Car Class Question

2 Posts
1 Users
0 Reactions
959 Views
(@jp006)
Active Member
Joined: 5 years ago
Posts: 14
Topic starter  

Hi Wotever, I hope all is well.

I am trying to change the car class background color of a Simhub leaderboard so I can differentiate  between classes.  In javascript I can use the highlight setting to do that.  I have not been able to determine which variable I need to use for that in the leaderboard as I can only see in the available properties the DataCorePlugin.GameData.CarClass variable, but that is only for the user of the game.  Need the variable to use in the leaderboard itself, something like Leaderboard.Opponent.CarClass, I assume. Does that option exist?  I see Gary Swallow manages to do it somehow in his plugin to show the class icon, but it does not show which variable is being used to compare.

Thanks in advance for your help.  Cheers.

This topic was modified 3 years ago 2 times by JP006

   
Quote
(@jp006)
Active Member
Joined: 5 years ago
Posts: 14
Topic starter  

Hi Wotever, just wondering if you can help me with this question.  Thanks

This post was modified 3 years ago by JP006

   
ReplyQuote
Share: