local gate = createObject (16775, 2532, -1514.5999755859, 27.10000038147, 0, 0, 0)
local marker = createMarker (2532, -1514.5999755859, 27.10000038147, "cylinder", 8, 0, 0, 0, 0)
function moveGate (thePlayer)
local accName = getAccountName ( getPlayerAccount ( thePlayer ) )
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "CV" ) ) then
moveObject(gate, 1900, 2532, -1.514,5999755859, 18,89999961853)
end
end
addEventHandler ( "onMarkerHit", root, moveGate )
function move_back_gate ()
moveObject(gate, 1900, 2532, -1514.5999755859, 27.10000038147, 0, 0, 0)
end
addEventHandler ("onMarkerLeave", root, move_back_gate)
tenta isso, lembrando que você deve estar na acl CV