xx Kami xx
Retired.
- Joined
- Dec 29, 2012
- Messages
- 509
- Reaction score
- 20
Hello i need this script to work for druids & sorcerer's
it only works for sorcerer, i need it to work for both
will Rep++
it only works for sorcerer, i need it to work for both
LUA:
local pos = {x = 1049, y = 729, z = 6}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerVocation(cid) == 1 and getPlayerVocation(cid) == 5 then
doTeleportThing(cid,pos)
doSendMagicEffect(getThingPos(cid), math.random(67))
else
doCreatureSay(cid, 'Only sorcerers can pass this door', TALKTYPE_ORANGE_1, false, cid)
end
return true
end
will Rep++
Last edited: