1
piso que da teleport si tienes x storage Mar Ago 25, 2020 6:11 pm
AmonGod

Miembro

Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...
--function by Frankit0--
function onStepIn(cid, item, frompos, item2, topos)
local vip = getPlayerStorageValue(cid,1335) >= 1 --The storage that the vip system uses.
local kickposition = {x=1000, y=1000, z=7} --Place where the Player will be teleported if not vip, change it
local newposition = {x=1060, y=1709, z=7} --Place where the player will be teleported IF VIP, change it.
if(vip) then
doPlayerSendTextMessage(cid, 22, "You have done xxx Quest, you are allowed to pass.")
doSendMagicEffect(getPlayerPosition(cid),2)
doTeleportThing(cid, newposition)
doSendMagicEffect(newposition,10)
else
doPlayerSendTextMessage(cid, 22, "You haven't done xxxx Quest, you can't pass.")
doTeleportThing(cid, kickposition)
end
end
TibiaFace » Descargas de Otserv y Ayuda » Pedidos de Scripts » piso que da teleport si tienes x storage
Temas similares
Permisos de este foro:
No puedes responder a temas en este foro.
|
|