From Multi Theft Auto: Wiki
This function returns an element that corresponds to the current target of the specified player's camera (i.e. what it is following).
- thePlayer: The player whose camera you wish to receive the target of.
- Returns an element of the target if the function was successful, or false if bad arguments were specified
- Returns false if the camera is in Fixed mode and has no target.
This example checks whether a player's camera's target is another player, and returns true or false accordingly.