fire_shock666
New Member
Hey guys i got a script that tp`s player when have a item on them,
is it possoble to add storage value to it so when the quest is done u dont need the item but you can always enter?
this is my script:
tnx for helping me
is it possoble to add storage value to it so when the quest is done u dont need the item but you can always enter?
this is my script:
PHP:
function onStepIn(cid, item, pos)
local position = {x=1634, y=1117, z=9}
local position2 = {x=1631, y=1110, z=10}
if (getPlayerItemCount(cid, 6500) < 50) then
doTeleportThing(cid, position)
doSendMagicEffect(position,10)
else
doTeleportThing(cid, position2)
doSendMagicEffect(position2,10)
end
end
tnx for helping me