16.11.2012, 16:25
function createTheGate ()
myGate1 = createObject ( 980, 2313.3000488281, --1216.0999755859, 25.60000038147, 0, 0, 0 )
end
addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate )
function openMyGate ( )
moveObject ( myGate1, 2500, 2313.3000488281, -1216.0999755859, 28.89999961853 )
end
addCommandHandler("abrir",openMyGate)
function movingMyGateBack ()
moveObject ( myGate1, 2500, 2313.3000488281, --1216.0999755859, 25.60000038147 )
end
myGate1 = createObject ( 980, 2313.3000488281, --1216.0999755859, 25.60000038147, 0, 0, 0 )
end
addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate )
function openMyGate ( )
moveObject ( myGate1, 2500, 2313.3000488281, -1216.0999755859, 28.89999961853 )
end
addCommandHandler("abrir",openMyGate)
function movingMyGateBack ()
moveObject ( myGate1, 2500, 2313.3000488281, --1216.0999755859, 25.60000038147 )
end