Class selection camera! - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Class selection camera! (
/showthread.php?tid=250744)
Class selection camera! -
Admigo - 24.04.2011
heey scripters
I have a problem with the camera on player class selection!
Sometimes(the most time) the player faces to left.
This is my code:
Code:
SetPlayerPos(playerid, 1962.1644,1343.0841,15.4823);
SetPlayerFacingAngle(playerid,88.5801);
SetPlayerCameraPos(playerid, 1957.5919,1343.1099,15.3746);
SetPlayerCameraLookAt(playerid, 1962.1644,1343.0841,15.4823);
pls help
Thanks admigo!
Re: Class selection camera! -
tanush - 24.04.2011
pawn Code:
SetPlayerPos(playerid, 1962.1644,1343.0841,15.4823);
SetPlayerFacingAngle(playerid,88.5801);
SetPlayerCameraPos(playerid, 1957.5919,1343.1099,15.3746);
SetPlayerCameraLookAt(playerid, 1957.5919,1343.1099,15.3746);
try this
Re: Class selection camera! -
••• ĤБĶБM ••• - 24.04.2011
Replace:
pawn Code:
SetPlayerFacingAngle(playerid,88.5801);
With:
pawn Code:
SetPlayerFacingAngle(playerid, 0);
Re: Class selection camera! -
Admigo - 24.04.2011
He dont needs to look to the north!
Re: Class selection camera! -
Admigo - 24.04.2011
Problem solved i think!