GetCameraRotation

From Multi Theft Auto: Wiki
Revision as of 21:05, 27 June 2018 by Pirulax (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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