Skip to main content

GetPlayerCameraUpVector

Description

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.

NameDescription
playeridThe ID of the player you want to obtain the camera upvector of
Float:xA float to store the X coordinate, passed by reference.
Float:yA float to store the Y coordinate, passed by reference.
Float:zA float to store the Z coordinate, passed by reference.

Returns

The position is stored in the specified variables.

Notes

warning

This function was removed in SA-MP version 0.3b