GetCameraRotation

From Multi Theft Auto: Wiki
Revision as of 17:22, 9 February 2018 by Pirulax (talk | contribs)
Jump to navigation Jump to search

Dialog-warning.png Warning: This function no longer exists. However, below is a function that achieves a similar result.
local cam = getCamera()--The camera is always the same element, so use this local variable to save cpu power.
function getCameraRotation ()
    return getElementRotation(cam) --rx, ry, rz
end

See Also