09.04.2014, 10:26
You will have tolook a these functions made by SA-MP. You would put the codes under public OnPlayerRequestClass
SetPlayerCameraPos - This is where the player's Camera is set into position
SetPlayerCameraLookAt - This is where you set where the player's camera is directly looking
SetPlayerPos - You have to set the player's position near the area so the objects in the area are streamed so it doesnt look blurry
SetPlayerFacingAngle - This is where the angle for the camera is set, You can look at facing angles here
Here is an EXAMPLE of the code you should have!
Remember! The codes would be put under public OnPlayerRequestClass
SetPlayerCameraPos - This is where the player's Camera is set into position
SetPlayerCameraLookAt - This is where you set where the player's camera is directly looking
SetPlayerPos - You have to set the player's position near the area so the objects in the area are streamed so it doesnt look blurry
SetPlayerFacingAngle - This is where the angle for the camera is set, You can look at facing angles here
Here is an EXAMPLE of the code you should have!
Quote:
SetPlayerCameraPos(playerid, 652.23, 457.21, 10.84); //SetPlayerCameraPos SetPlayerCameraLookAt(playerid, 324.34, 54.122, 173.35); //SetPlayerCameraLookAt SetPlayerPos(playerid,0.0,0.0,3.0); //SetPlayerPos SetPlayerFacingAngle(playerid, 0 ); //SetPlayerFacingAngle |