createObject 1 ( 3080, 2492.6999511719,-1667.6999511719,13.60000038147, 0, 0, 0)
createObject 2 ( 3080, 2488.6000976563,-1667.6999511719,13.60000038147, 0, 0, 0)
isMoved = false
function(player)
if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)),aclGetGroup("PDz")) then
if not isMoved then
moveObject (1, 3000, 2492.6999511719,-1667.6999511719,13.60000038147, 0, 0, 0)
moveObject (2, 3000, 2488.6000976563,-1667.6999511719,13.60000038147, 0, 0, 0)
else
moveObject (1, 3000, 2492.6999511719,-1667.6999511719,10.300000190735, 0, 0, 0)
moveObject (2, 3000, 2488.6000976563,-1667.6999511719,10.300000190735, 0, 0, 0)
end
isMoved = not isMoved
end
end
addCommandHandler("prueba", 1 and 2)