SetPlayerCameraPos

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:36, 7 September 2012
Drebin (Talk | contribs)

← Previous diff
Revision as of 01:10, 3 February 2014
Connor Mead (Talk | contribs)
(add fr link)
Next diff →
Line 23: Line 23:
[[Category:Scripting Functions]] [[Category:Scripting Functions]]
 +
 +[[fr:SetPlayerCameraPos]]

Revision as of 01:10, 3 February 2014




Description:

Sets the camera to a specific position for a player.


Parameters:
(playerid,Float:x,Float:y,Float:z)
playeridID of the player
Float:xNew x-position of the camera
Float:yNew y-position of the camera
Float:zNew z-position of the camera


Return Values:

This function does not return any specific values.


SetPlayerCameraPos(playerid, 652.23, 457.21, 10.84);
Image:32px-Ambox_warning_orange.png

Note

Use SetCameraBehindPlayer to reset the camera behind the player.


Related Functions

The following functions may be useful, as they are related to this function in one way or another.

In other languages