Ncalc formula probl...
 
Notifications
Clear all

Ncalc formula problem

3 Posts
1 Users
0 Likes
1,079 Views
(@0vercl9k)
Active Member
Joined: 2 years ago
Posts: 5
Topic starter  

Goodmorning everyone,
I am new to the forum and would kindly need some help in compiling a formula in simhub. I am attaching the screen so you understand better.
The formula I wrote works correctly, specifically it is the weather forecast that I put on my dashboard. But now I wanted to change the icons of the sun with those of the moon only in the tracks where you run at night (bahrain, singapore, abu dhabi). I tried but failed. Is there anyone who could help me?
Thank you all in advance! 🙂


   
Quote
Topic Tags
(@0vercl9k)
Active Member
Joined: 2 years ago
Posts: 5
Topic starter  

if([GameRawData.PacketSessionData.m_weatherForecastSamples07.m_weather]=0, 'sole',
if([GameRawData.PacketSessionData.m_weatherForecastSamples07.m_weather]=1, 'nuvoloso',
if([GameRawData.PacketSessionData.m_weatherForecastSamples07.m_weather]=2, 'coperto',
if([GameRawData.PacketSessionData.m_weatherForecastSamples07.m_weather]=5, 'pioggia forte',
if([GameRawData.PacketSessionData.m_weatherForecastSamples07.m_weather]=3, 'pioggia','')))))


   
ReplyQuote
(@0vercl9k)
Active Member
Joined: 2 years ago
Posts: 5
Topic starter  

I succeeded, thanks a lot to everyone anyway 🙂


   
ReplyQuote
Share: