I have a script for a quest door "Only Premium Players Can Pass" and it works fine, but if a player stands inside the door and does mulitiple clicks on it fast the door will disapear..
is this a problem and fixable? (using tfs 0.3 beta 3)
heres my script
is this a problem and fixable? (using tfs 0.3 beta 3)
heres my script
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerPremiumDays(cid) >= 1 then
if item.actionid == 5555 then
doTransformItem(item.uid, item.itemid + 1)
doTeleportThing(cid, toPosition, TRUE)
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only donators can access training rooms!")
end
return TRUE
end