Tekken Posted September 19, 2014 Posted September 19, 2014 How to lock time on a server to be 12:00 all time?
Castillo Posted September 19, 2014 Posted September 19, 2014 Either: setMinuteDuration or this: setTimer + setTime
Tekken Posted September 20, 2014 Author Posted September 20, 2014 Like this : function setMinuteDuration setTime( 1000, 1,) end
Tails Posted September 20, 2014 Posted September 20, 2014 Like this: setTimer(function()setTime(12,0)end,50,0)
Callum Posted September 20, 2014 Posted September 20, 2014 The method of using setMinuteDuration and setTime is a lot more recommended than using an extremely frequent timer.
Tekken Posted September 21, 2014 Author Posted September 21, 2014 It did not work But I have another problem with animation when you eat or do something nature never stops, but I know how to fix it but do not know how to open files .lua_dayz
Tekken Posted September 21, 2014 Author Posted September 21, 2014 It did not work look: https://lh3.googleusercontent.com/-oKx4 ... titled.png
Tekken Posted September 22, 2014 Author Posted September 22, 2014 how to uncompile it? and script time went but stopped just watch but I want to stop time that is not to do night
Anubhav Posted September 22, 2014 Posted September 22, 2014 You can't uncompile it. Its 'de-compile' which is not possible. Try to add the part in a new file something.lua and compile it copy the data inside it paste it at last of script. Maybe it works?
The Don Posted September 22, 2014 Posted September 22, 2014 -- Client Side # gMe = getLocalPlayer() function AllTIme () setTimer (Timer, 2000, 0) setTime (12, 00) end function Timer() setTime (12, 00) end addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), AllTIme )
Tekken Posted September 22, 2014 Author Posted September 22, 2014 (edited) Actually my problem is that when night comes alive real server becomes black: How it should be: https://lh4.googleusercontent.com/--6yK ... _00002.jpg How it is: https://lh6.googleusercontent.com/-YKoH ... _00004.jpg What should I do? Edited June 22, 2015 by Guest
crismar Posted September 22, 2014 Posted September 22, 2014 If you don't know scripting just drop the task of creating a server. Take your time and browse through the DayZ config files.
Callum Posted September 24, 2014 Posted September 24, 2014 If you don't know scripting just drop the task of creating a server.Take your time and browse through the DayZ config files. Nobody starts off knowing how to script, it's a process of learning through failure.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now