Ncalc formula probl...
 
Notifications
Clear all

Ncalc formula problem

4 Posts
2 Users
0 Reactions
1,391 Views
(@0vercl9k)
Active Member
Joined: 3 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: 3 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: 3 years ago
Posts: 5
Topic starter  

I succeeded, thanks a lot to everyone anyway 🙂


   
ReplyQuote
(@fastprint3d)
New Member
Joined: 4 months ago
Posts: 1
 

Hello can you write me a skipte because I can't... I would like to have a script so that when it rains there is an engine running, it must also take the speed of the car into account to manage the percentage motor speed Thank you


   
ReplyQuote
Share: