• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

teleport that appear on 24:00 [Help]

mikeware

New Member
Joined
Jul 17, 2007
Messages
338
Reaction score
0
Location
Brazil
Hi everyone

Can some1 explain me how to make a script than when the times come 24:00 on the server a portal (teleport) will appear on a place?
It is possible, if it is, please help me =)

thanks,
see ya
 
It should be possible using a os.time or os.date or something to check what the time is.
 
http://www.lua.org/manual/5.1/manual.html#pdf-os.date
http://www.lua.org/manual/5.1/manual.html#pdf-os.time
 
I think I can make something like that, but it will be more like you pull a switch and the teleporter will appear if it is the right time of the day.

(I only know how to make scripts that uses the function onUse)
 
Talaturen said:
http://www.lua.org/manual/5.1/manual.html#pdf-os.date
http://www.lua.org/manual/5.1/manual.html#pdf-os.time

thanks for the information, im already testing this script and if its work i Will post it here and on Otfans :D
 
Well im working on it with some help from an advanced guys, when its ready ill post it here

my idea is: a switch that when pushed on midnight will appear a teleport in my script, need four people to work, but u guys will can change it
 
Back
Top