Spark23 19 Posted January 30, 2017 In dedicated server skiptime not work, what can I do? Laptop Inic. field: this addAction["<t color='#ff8811'>Advance 12 Hours</t>", "skipTime.sqf"]; Skiptime.sqf skipTime 12; hint "Time advanced by 12 hours"; Thanks! Share this post Link to post Share on other sites
Belbo 462 Posted January 30, 2017 Scripts executed by addAction are only executed locally on the client that activates the action. skipTime hast to be executed on server. Try it like this: this addAction["<t color='#ff8811'>Advance 12 Hours</t>", { 12 remoteExec ["skipTime", 2]; "Time advanced by 12 hours" remoteExec ["hint",0]; }]; Share this post Link to post Share on other sites
Spark23 19 Posted January 30, 2017 Thanks belbo, Your code is all to insert in Inic field? Share this post Link to post Share on other sites
Belbo 462 Posted January 30, 2017 Yeah, it's possible to put it in the init-field. Share this post Link to post Share on other sites
Spark23 19 Posted January 30, 2017 So Skiptime.sqf not is necessary? Share this post Link to post Share on other sites
Belbo 462 Posted January 30, 2017 You can put 12 remoteExec ["skipTime", 2]; "Time advanced by 12 hours" remoteExec ["hint",0] in the skiptime.sqf if you so want. But take your time to read the wiki carefully. Share this post Link to post Share on other sites