Postado Janeiro 17, 2016 9 anos bom dia galera do TK! venho aqui hoje pedir ajuda de vocês. Tenho um script de teleport funcionando perfeitamente, PORÈM voce usa ele qualquer lugar! alguem poderia ajeitar pra mim o scripts pra poder usar somente em protectZONE!! function onUse(cid, item, frompos, item2, topos) player1pos = getPlayerPosition(cid) player1 = getThingfromPos(player1pos) if player1.itemid > 0 then temple = {x=1343, y=795, z=8} doSendMagicEffect(topos,12) doTeleportThing(player1.uid,temple) doSendMagicEffect(temple,34) doSendMagicEffect(temple,48) doSendAnimatedText(getPlayerPosition(cid), "!Secret!", math.random(1, 255)) doPlayerSendTextMessage(player1.uid,22,"Voce foi Transportado na Area Secreta, Bem Vindo!.") end end
Postado Janeiro 17, 2016 9 anos function onUse(cid, item, frompos, item2, topos) player1pos = getPlayerPosition(cid) player1 = getThingfromPos(player1pos) if player1.itemid > 0 and getTilePzInfo(player1pos) == TRUE then temple = {x=1343, y=795, z=8} doSendMagicEffect(topos,12) doTeleportThing(player1.uid,temple) doSendMagicEffect(temple,34) doSendMagicEffect(temple,48) doSendAnimatedText(getPlayerPosition(cid), "!Secret!", math.random(1, 255)) doPlayerSendTextMessage(player1.uid,22,"Voce foi Transportado na Area Secreta, Bem Vindo!.") end end Ajudei? De nada \o/ Att Rusherzin
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.