SA-MP Forums Archive
Why is this not working - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Why is this not working (/showthread.php?tid=618356)



Why is this not working - AndreiWow - 04.10.2016

Код:
public OnPlayerRequestClass(playerid, classid)
{
	//SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1255.0480,-165.3955,41.7919);
	SetPlayerCameraLookAt(playerid, 1246.4318,-155.1267,43.5314);
	return 1;
}
It is just the default view of los santos beach


Re: Why is this not working - yvoms - 04.10.2016

Код:
			SetPlayerFacingAngle(playerid,359.5606);
			SetPlayerCameraPos(playerid,-2947.0837,507.2339,2.4297);
			SetPlayerCameraLookAt(playerid,-2947.4534,504.7275,2.4297);
try this?


Re: Why is this not working - Sew_Sumi - 05.10.2016

What are you actually trying to do, as this callback triggers when you change skin in the char selection stage.