---
title: "19 tài liệu đã gắn thẻ được gắn thẻ \"camera\" | open.mp"
canonical: https://omp.itsneufox.com/vi/docs/tags/camera
language: vi
---

# 19 tài liệu đã gắn thẻ được gắn thẻ "camera"

[Xem tất cả thẻ](https://omp.itsneufox.com/vi/docs/tags)

[

## AttachCameraToPlayerObject

](https://omp.itsneufox.com/vi/docs/scripting/functions/AttachCameraToPlayerObject)

Attaches a player's camera to a player-object.

[

## GetPlayerCameraAspectRatio

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraAspectRatio)

Retrieves the aspect ratio of a player's camera.

[

## GetPlayerCameraFrontVector

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraFrontVector)

This function will return the current direction of player's aiming in 3-D space, the coords are relative to the camera position, see GetPlayerCameraPos.

[

## GetPlayerCameraMode

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraMode)

Returns the current GTA camera mode for the requested player.

[

## GetPlayerCameraPos

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraPos)

Get the position of the player's camera.

[

## GetPlayerCameraTargetActor

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraTargetActor)

Allows you to retrieve the ID of the actor the player is looking at (in any).

[

## GetPlayerCameraTargetObject

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraTargetObject)

Allows you to retrieve the ID of the object the player is looking at.

[

## GetPlayerCameraTargetPlayer

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraTargetPlayer)

Allows you to retrieve the ID of the player the playerid is looking at.

[

## GetPlayerCameraTargetPlayerObject

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraTargetPlayerObject)

Allows you to retrieve the ID of the player-object the player is looking at.

[

## GetPlayerCameraTargetVehicle

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraTargetVehicle)

Get the ID of the vehicle the player is looking at.

[

## GetPlayerCameraUpVector

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraUpVector)

This function returns the vector, that points to the upside of the camera's view, or, in other words, to the middle top of your screen.

[

## GetPlayerCameraZoom

](https://omp.itsneufox.com/vi/docs/scripting/functions/GetPlayerCameraZoom)

Retrieves the game camera zoom level for a given player.

[

## SetCameraBehindPlayer

](https://omp.itsneufox.com/vi/docs/scripting/functions/SetCameraBehindPlayer)

Restore the camera to a place behind the player, after using a function like SetPlayerCameraPos.

[

## SetObjectNoCameraCol

](https://omp.itsneufox.com/vi/docs/scripting/functions/SetObjectNoCameraCol)

Disable collisions between players' cameras and the specified object.

[

## SetObjectNoCameraCollision

](https://omp.itsneufox.com/vi/docs/scripting/functions/SetObjectNoCameraCollision)

Disable collisions between players' cameras and the specified object.

[

## SetObjectsDefaultCameraCol

](https://omp.itsneufox.com/vi/docs/scripting/functions/SetObjectsDefaultCameraCol)

Allows camera collisions with newly created objects to be disabled by default.

[

## SetObjectsDefaultCameraCollision

](https://omp.itsneufox.com/vi/docs/scripting/functions/SetObjectsDefaultCameraCollision)

Allows camera collisions with newly created objects to be disabled by default.

[

## SetPlayerCameraLookAt

](https://omp.itsneufox.com/vi/docs/scripting/functions/SetPlayerCameraLookAt)

Set the direction a player's camera looks at.

[

## SetPlayerCameraPos

](https://omp.itsneufox.com/vi/docs/scripting/functions/SetPlayerCameraPos)

Sets the camera to a specific position for a player.
