function onUse(cid, item, frompos, item2, topos)
gatepos = {x=[COLOR="Red"]1429[/COLOR], y=[COLOR="Red"]821[/COLOR], z=[COLOR="Red"]9[/COLOR], stackpos=1}
getgate = getThingfromPos(gatepos)
if item.uid == [COLOR="Green"]1835[/COLOR] then
doPlayerSendTextMessage(cid,22,"Witam na Trenowisku !")
doTeleportThing(cid, gatepos)
doSendMagicEffect(gatepos, 10)
end
return 1
end