THE QUESTION IS..........
WHY THE F*** DO YOU WANT A DOOR WHERE GMS CAN ONLY ENTER, F*** SAY /a 2 AND YOU GET IN OMG YOU GUYS STARTED TO ASK USELESS QUESTION AND MAKE THE GOOD SCRIPTERS SKIP OUR REAL SCRIPTING THREADS.
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerAccess(cid) >= 3 then
doTeleportThing(cid, { x = 111, y = 111, z = 7 })
doSendMagicEffect({ x = 111, y = 111, z = 7 }, 10)
doPlayerSendTextMessage(cid, 25, 'Welcome '..getPlayerName(cid)..'.')
else
doPlayerSendTextMessage(cid, 25, 'You do not permission to access this door.')
end
return true
end
/a 2
Explaining after this door area will be an event where when GM closed the door, no one else can pass.