getCameraTarget
Client
Returns the player or ped the camera is following.
element|false getCameraTarget()
Returns
The player or ped, or false if the camera is fixed or attached to an element.
Example
if getCameraTarget() ~= localPlayer then
setCameraTarget(localPlayer)
end