Changing Background!
#4

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!
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

Remember! The codes would be put under public OnPlayerRequestClass
Reply


Messages In This Thread
Changing Background! - by FrakyX - 09.04.2014, 09:46
Re: Changing Background! - by Flake. - 09.04.2014, 09:59
Re: Changing Background! - by Lordzy - 09.04.2014, 10:09
Re: Changing Background! - by Djean - 09.04.2014, 10:26
Re: Changing Background! - by FrakyX - 09.04.2014, 12:53

Forum Jump:


Users browsing this thread: 3 Guest(s)