
Untitled
By: a guest on
Jul 22nd, 2012 | syntax:
None | size: 0.50 KB | hits: 10 | expires: Never
function createTheGate ()
myGate = createObject (3115, 412.19921875, -1841.599609375, -4, 0, 90, 90 )
end
addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate )
function openMygat ( )
moveObject ( myGate , 3115, 400.3994140625, -1841.599609375, -4 )
end
addCommandHandler("openswat",openMyGate)
function movingMyGateBack ()
moveObject (myGate, 3115, 412.19921875, -1841.599609375, -4 )
end
addCommandHandler("closeswat",movingMyGateBack)
end