07.10.2011, 20:01
SetPlayerCameraPos
• This is the point where the camera will be.
• Just image that this is you with a photo. It will be the pos where you are standing.
• Parameters: (playerid, Float:X, Float:Y ,Float:Z)
SetPlayerCameraLookAt
• This is the point where the camera looks to.
• Imagine that this is the point you want to take a photo of. The camera will center this point and look at it.
• Parameters: (playerid, Float:X, Float:Y ,Float:Z)
All in all:
First get the pos where your camera is supposed to be (SetPlayerCameraPos) and then go to the point where the camera should look at (SetPlayerCameraLookAt).
Jeffry
• This is the point where the camera will be.
• Just image that this is you with a photo. It will be the pos where you are standing.
• Parameters: (playerid, Float:X, Float:Y ,Float:Z)
SetPlayerCameraLookAt
• This is the point where the camera looks to.
• Imagine that this is the point you want to take a photo of. The camera will center this point and look at it.
• Parameters: (playerid, Float:X, Float:Y ,Float:Z)
All in all:
First get the pos where your camera is supposed to be (SetPlayerCameraPos) and then go to the point where the camera should look at (SetPlayerCameraLookAt).
Jeffry