GetPlayerZAim
எச்சரிக்கை
செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!
Description
Gets a player's Z Aim. (related to the camera and aiming)
| Name | Description |
|---|---|
| playerid | The 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);
Related Functions
- GetPlayerCameraPos: Get the position of the player's camera.