-.Savage.-
New Member
- Joined
- Jul 2, 2008
- Messages
- 32
- Reaction score
- 2
Need Help with a script, when you click use
its suppose to check your vocation, and
if its not ur vocation send a cancel message
if some1 can help, ill rep you!
its suppose to check your vocation, and
if its not ur vocation send a cancel message
if some1 can help, ill rep you!
Lua:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 14510 then
if item.itemid == 5777 then
nplayer1pos = {x=250, y=250, z=7}
doTeleportThing(cid,nplayer1pos)
doSendMagicEffect(nplayer1pos,10)
doSendMagicEffect(topos,6)
doSendMagicEffect(frompos,6)
end
end
return 1
end