elementck
New Member
- Joined
- Jan 27, 2010
- Messages
- 22
- Reaction score
- 0
hello today Otland
I bring a problem is rather small and is not to bother them so much and helped me see that I am an unique in the published errors SUPPORT look good XD I have a teleport scroll and miss and it works great but the prolema bn is that when the player has pk and has bone pcs red swords that I hit sack any player or pc pk likewise can also use the scroll and I want does not happen so that if you have pcs pk or otherwise use the scroll I hope I understand and that if no pc and no pk can use this is the scrip.
thanks to whom I can collaborate
I bring a problem is rather small and is not to bother them so much and helped me see that I am an unique in the published errors SUPPORT look good XD I have a teleport scroll and miss and it works great but the prolema bn is that when the player has pk and has bone pcs red swords that I hit sack any player or pc pk likewise can also use the scroll and I want does not happen so that if you have pcs pk or otherwise use the scroll I hope I understand and that if no pc and no pk can use this is the scrip.
function onUse(cid, item, frompos, item2, topos)
local telepos = {x=32353, y=32225, z=7}
ppos = getPlayerPosition(cid)
if (getCreatureCondition(cid, CONDITION_INFIGHT) == FALSE) then
doTeleportThing(cid, telepos, TRUE)
doSendMagicEffect(ppos,13)
doSendAnimatedText(frompos,'Para el depot',251)
else
doPlayerSendCancel(cid,"Tienes Pz Noob Esperate.")
doSendMagicEffect(ppos,2)
end
return 1
end
thanks to whom I can collaborate
Last edited: