Beiträge von DarkWater

    Thanks! What value should be set to rain and clouds on the server?




    1. //If all is set to null give always sunshine, no fog, and less clouds
    2. Weather weather = g_Game.GetWeather();
    3. weather.GetOvercast().SetLimits( 0.0 , 0.0 );
    4. weather.GetRain().SetLimits( 0.0 , 0.0 );
    5. weather.GetFog().SetLimits( 0.0 , 0.0 );
    6. weather.GetOvercast().SetForecastChangeLimits( 0.0, 0.0 );
    7. weather.GetRain().SetForecastChangeLimits( 0.0, 0.0 );
    8. weather.GetFog().SetForecastChangeLimits( 0.0, 0.0 );
    9. weather.GetOvercast().Set( 0, 0, 0);
    10. weather.GetRain().Set( 0, 0, 0);
    11. weather.GetFog().Set( 0, 0, 0);
    12. weather.SetWindMaximumSpeed(0);
    13. weather.SetWindFunctionParams(0.0, 0.0, 0);

    Hey, nice script, my problem is init.c , I want to make, so that to spawn a certain loot on player, but default loot spawns inside . Will help me? I will be grateful!