Jump to content

Rate this topic


Recommended Posts

Tá aqui. Vc faz assim faz a porta normal q so passa 400+ ai no xao q fica embaxo da porta coloca action ID 7392.

 

Em data/movements/movements.xml coloca

 

Quote

 

<movevent type="StepIn" actionid="7392" event="script" value="porta600.lua"/>

 

em data/movemets/scripts/porta600 coloca

 

Quote

 

function onStepIn(cid, item, position, fromPosition)

if getPlayerLevel(cid) >=600 then

doTeleportThing(cid, fromPosition)

doPlayerSendTextMessage(cid, 22, "voce e nivel maior que 600 e nao pode entrar")

doSendMagicEffect(fromPosition, CONST_ME_POFF)

end

end

 

Fonte : amoeba13

Link to comment
https://xtibia.com/forum/topic/178992-ajuda-aqui/#findComment-1184536
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...