Postado Janeiro 21, 2019 6 anos QUERIA ADICIONAR LV NO PISO ALGUEM PUDER AJUDAR A SCRIPT VO DEIXA POSTADA function onStepIn(cid, item, position, fromPosition) if getPlayerStorageValue(cid, 13602) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "[Tesouro] Você não é Ultimate .Para Ter Acesso faça a quest Ultimate!") doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return TRUE end doPlayerPopupFYI(cid, "[Tesouro] Bem Vindo a área Ultimate!") return TRUE Editado Janeiro 21, 2019 6 anos por viniciusgdesousa (veja o histórico de edições)
Postado Janeiro 21, 2019 6 anos Haha, muito bom ver alguem usando Soft OT como base.. mas enfim, você quer que só passe se tiver um level minimo? Baiak Thunder New TFS Downgrade [TFS 1.5 - 8.60] Gesior Ferobra Downgrade Evento Monster Hunt [TFS 1.X] Evento SafeZone [TFS 1.X] Online Bonus System [TFS 1.X] Dodge & Critical [TFS 1.X] Nova moeda, funcionando com NPCs [TFS 1.X] Square System [TFS 1.X] Loot Channel [TFS 1.X] Gerenciador de Quests [All TFS] NPCs comprando vial/flasks por storage [TFS 1.X] AntiBot [TFS 1.X] Como compilar TFS 0.X
Postado Janeiro 21, 2019 6 anos function onStepIn(cid, item, position, fromPosition) if getPlayerLevel(cid) < 200 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "Você não tem level o suficiente para passar.") return true end if getPlayerStorageValue(cid, 13602) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "[Tesouro] Você não é Ultimate .Para Ter Acesso faça a quest Ultimate!") doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return true end doPlayerPopupFYI(cid, "[Tesouro] Bem Vindo a área Ultimate!") return true end 200 e acima poderá passar. Só substituir 200 pelo level necessário. To pelo cell não sei se o code box funcionou, então ao copiar toma cuidado com caracter invalido. Editado Janeiro 21, 2019 6 anos por Yan Liima (veja o histórico de edições) ╔══════════════════════════ҳ̸Ҳ̸ҳஜ۩۞۩ஜҳ̸Ҳ̸ҳ══════════════════════════╗ Te Ajudei? Rep + e ficamos Quits Precisando de ajuda? Discord: Yan Liima #3702 Programador Júnior de LUA, PHP e JavaScript Juntos somos lendas, separados somos Mitos! ╚══════════════════════════ҳ̸Ҳ̸ҳஜ۩۞۩ஜҳ̸Ҳ̸ҳ═════════════════════════════╝
Postado Janeiro 21, 2019 6 anos Autor 20 minutos atrás, Yan Liima disse: function onStepIn(cid, item, position, fromPosition) if getPlayerLevel(cid) < 200 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "Você não tem level o suficiente para passar.") return true end if getPlayerStorageValue(cid, 13602) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "[Tesouro] Você não é Ultimate .Para Ter Acesso faça a quest Ultimate!") doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return true end doPlayerPopupFYI(cid, "[Tesouro] Bem Vindo a área Ultimate!") return true 200 e acima poderá passar. Só substituir 200 pelo level necessário. To pelo cell não sei se o code box funcionou, então ao copiar toma cuidado com caracter invalido. @Yan Liima vou testar aqui ja dou resposta! @moviebr ;\ to usando soft ot como base , começei essa semana entao abri um ot como test to reformulando itens magias ,etc dps eu começo a editar o mapa mais server mt bom baiak quase q perfeito para começar um ot! 25 minutos atrás, viniciusgdesousa disse: @Yan Liima vou testar aqui ja dou resposta! @moviebr ;\ to usando soft ot como base , começei essa semana entao abri um ot como test to reformulando itens magias ,etc dps eu começo a editar o mapa mais server mt bom baiak quase q perfeito para começar um ot! 51 minutos atrás, Yan Liima disse: function onStepIn(cid, item, position, fromPosition) if getPlayerLevel(cid) < 200 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "Você não tem level o suficiente para passar.") return true end if getPlayerStorageValue(cid, 13602) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "[Tesouro] Você não é Ultimate .Para Ter Acesso faça a quest Ultimate!") doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return true end doPlayerPopupFYI(cid, "[Tesouro] Bem Vindo a área Ultimate!") return true 200 e acima poderá passar. Só substituir 200 pelo level necessário. To pelo cell não sei se o code box funcionou, então ao copiar toma cuidado com caracter invalido. 51 minutos atrás, Yan Liima disse: function onStepIn(cid, item, position, fromPosition) if getPlayerLevel(cid) < 200 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "Você não tem level o suficiente para passar.") return true end if getPlayerStorageValue(cid, 13602) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "[Tesouro] Você não é Ultimate .Para Ter Acesso faça a quest Ultimate!") doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return true end doPlayerPopupFYI(cid, "[Tesouro] Bem Vindo a área Ultimate!") return true 200 e acima poderá passar. Só substituir 200 pelo level necessário. To pelo cell não sei se o code box funcionou, então ao copiar toma cuidado com caracter invalido. não funcionou !
Postado Janeiro 21, 2019 6 anos @viniciusgdesousa faltou só um end no final rs function onStepIn(cid, item, position, fromPosition) if getPlayerLevel(cid) < 200 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "Você não tem level o suficiente para passar.") return true end if getPlayerStorageValue(cid, 13602) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerPopupFYI(cid, "[Tesouro] Você não é Ultimate. Para Ter Acesso faça a quest Ultimate!") doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return true end doPlayerPopupFYI(cid, "[Tesouro] Bem Vindo a área Ultimate!") return true end [*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*] DISCORD: vodkart#6090
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.