- 0
pedido scripts Ajuda Script Teleport Automático - TFS 0.4
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
-
Conteúdo Similar
-
- 5 respostas
- 1781 visualizações
-
- 1 resposta
- 1349 visualizações
-
- 1 resposta
- 1380 visualizações
-
- 0 respostas
- 1375 visualizações
-
- 0 respostas
- 1292 visualizações
-
Pergunta
bilaux 0
não da erro mais tbm não funciona, obrigado
config = { days = { "Monday-09:00", "Monday-10:00", "Monday-11:00", "Monday-12:00", "Monday-13:00", "Monday-14:00", "Monday-15:00", "Monday-16:00", "Monday-17:00", "Monday-18:00", "Monday-19:00", "Monday-20:00", "Monday-21:00", "Monday-22:00", "Tuesday-09:00", "Tuesday-10:00", "Tuesday-11:00", "Tuesday-12:00", "Tuesday-13:00", "Tuesday-14:00", "Tuesday-15:00", "Tuesday-16:00", "Tuesday-17:00", "Tuesday-18:00", "Tuesday-19:00", "Tuesday-20:00", "Tuesday-21:00", "Tuesday-22:00", "Wednesday-09:00", "Wednesday-10:00", "Wednesday-11:00", "Wednesday-12:00", "Wednesday-13:00", "Wednesday-14:00", "Wednesday-15:00", "Wednesday-16:00", "Wednesday-17:00", "Wednesday-18:00", "Wednesday-19:00", "Wednesday-20:00", "Wednesday-21:00", "Wednesday-22:00", "Thursday-09:00", "Thursday-10:00", "Thursday-11:00", "Thursday-12:00", "Thursday-13:00", "Thursday-14:00", "Thursday-15:00", "Thursday-16:00", "Thursday-17:00", "Thursday-18:00", "Thursday-19:00", "Thursday-20:00", "Thursday-21:00", "Thursday-22:00", "Friday-09:00", "Friday-10:00", "Friday-11:00", "Friday-12:00", "Friday-13:00", "Friday-16:39", "Friday-15:00", "Friday-16:00", "Friday-17:00", "Friday-18:00", "Friday-19:00", "Friday-20:00", "Friday-21:00", "Friday-22:00", "Saturday-09:00", "Saturday-10:00", "Saturday-11:00", "Saturday-12:00", "Saturday-13:00", "Saturday-14:00", "Saturday-15:00", "Saturday-16:00", "Saturday-17:00", "Saturday-18:00", "Saturday-19:00", "Saturday-20:00", "Saturday-21:00", "Saturday-22:00", "Sunday-09:00", "Sunday-10:00", "Sunday-11:00", "Sunday-12:00", "Sunday-13:00", "Sunday-14:00", "Sunday-15:00", "Sunday-16:00", "Sunday-17:00", "Sunday-18:00", "Sunday-19:00", "Sunday-20:00", "Sunday-21:00", "Sunday-22:00" }, Tp = {{x=1003, y=1500, z=13},{x = 155, y = 50, z = 7}} , TpTime = 2 -- em minutos } function onThink(interval, lastExecution) for i = 1, #config.days do if isInArray(config.days[1], os.date("%A")) and isInArray(config.days[2], tostring(os.date("%X")):sub(1, 5)) then function removeTp(config) local t = getTileItemById(config.Tp[1], 1387) if t then doRemoveItem(t.uid, 1) doSendMagicEffect(config.Tp[1], CONST_ME_POFF) broadcastMessage("O teleporte se fechou.",22) end end doCreateTeleport(1387, config.Tp[2], config.Tp[1]) broadcastMessage("O evento foi aberto, você tem "..config.TpTime.." minutos para entrar no teleport.",22) addEvent(removeTp, config.TpTime100060, config) end break end return true end
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados