I have a problem with script which allow to go players only with pacc, whats wrong with it: (for 0.3.6 tfs)
Sorry, but I'm newbie in Lua ;s
Code:
function onStepIn(cid, item, position, fromPosition)
if isPremium(cid) then
local newposition = {x=71, y=132, z=6}
doTeleportThing(cid, newposition)
doSendMagicEffect(newposition, 12)
else
doPlayerSendTextMessage(cid,22,"You need to have a Premium Account to enter this area.")
end
return TRUE
end