masaker 20 Posted October 28, 2014 I want to simulate darkness in the cave if player enter this cave so I need to set date for one player on dedicated server. I tried setdate [0,0,0,0,0] in local execute of player but server automatically set time back for this player instantly. Share this post Link to post Share on other sites
Magirot 14 Posted October 28, 2014 You can use post process effects to simulate it, though when players go to video settings, they can temporarily see things without the effect. ppColor = [url="https://community.bistudio.com/wiki/ppEffectCreate"]ppEffectCreate[/url] ["ColorCorrections", 2100]; ppColor [url="https://community.bistudio.com/wiki/ppEffectEnable"]ppEffectEnable[/url] TRUE; ppColor [url="https://community.bistudio.com/wiki/ppEffectAdjust"]ppEffectAdjust[/url] [0, 0, 0, [1, 1, 1, 0], [1, 1, 1, 0.0], [1, 1, 1, 1.0]]; ppColor [url="https://community.bistudio.com/wiki/ppEffectCommit"]ppEffectCommit[/url] 6; // how many seconds for the effect to be complete This would be completely dark. You can try adjusting the colorCorrections values for a less dark effect (or maybe someone else can give good suggestions), and use ppEffectDestroy ppColor; to restore normal vision. Share this post Link to post Share on other sites