LU

[Urgente] Porta Para P.a Passar

Por lukina, 21 de abr. de 2010 em Archived

script
4
774
lukinaL
21 de abril de 2010 às 22:27

GOSTARIA DE 1 SCRIPT PARA SO PESSOA P.A PASSASE NA PORTA LEMBRANDO E PORTA NÃO TILE FAST PLX

lucasatakL
21 de abril de 2010 às 22:37

em actions/scripts:

 

--Config--

local newPosition = {x=780, y=699, z=7}

--Config--

function onUse(cid, item, frompos, item2, topos)

if isPremium(cid) == TRUE then

doTeleportThing(cid, newPosition)

end

end

 

actions.xml

<action actionid="5991" script="NAME.lua"/>

Editado Abril 21 por lucasatak

lukinaL
22 de abril de 2010 às 07:34

Vlw Funfo td mais sera que tem algum script sem esse negosio de position porque meu ot tem mais d 20 porta =/

guedes100G
22 de abril de 2010 às 09:49
function onUse(cid, item, frompos, item2, topos)

doorpos = {x=topos.x, y=topos.y, z=topos.z, stackpos=253}	--by nicekid
doorplayer = getThingfromPos(doorpos)

if isPremium(cid) == TRUE then
doTeleportThing(cid,doorpos)
doPlayerSendTextMessage(cid,22,"Welcome.")
end

return 1

end