Chuyển tới nội dung chính

GetPlayerZAim

cảnh báo

Đã thêm hàm trong phiên bản omp v1.1.0.2612. Mục này không hoạt động trên các phiên bản cũ hơn!

Description​

Gets a player's Z Aim. (related to the camera and aiming)

NameDescription
playeridThe ID of the player.

Returns​

Returns the player's Z Aim as a float value.

Examples​

new Float:zAim = GetPlayerZAim(playerid);

SendClientMessage(playerid, -1, "Z Aim = %f", zAim);