SA-MP Forums Archive
OnPlayerRequestClass Help - 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: OnPlayerRequestClass Help (/showthread.php?tid=411460)



OnPlayerRequestClass Help - James Coral - 29.01.2013

I want to change view when player Choosing skin but

that filterscript is so bugged : http://forum.sa-mp.com/showthread.ph...ght=ClassMaker

someone?


Re: OnPlayerRequestClass Help - Bakr - 29.01.2013

There is no need to use that filterscript anyway. Just go into the game, see where you want the player to stand and use the default /save command. Then goto where you want the camera to be placed and use the command again. Once you have done that, navigate to your savedpositions.txt folder and extract the XYZ coordinates accordingly.
pawn Код:
SetPlayerPos(playerid, firstX, firstY, firstZ);
SetPlayerFacingAngle(playerid, firstA);
SetPlayerCameraPos(playerid, secondX, secondY, secondZ);
SetPlayerCameraLookAt(playerid, firstX, firstY, firstZ);



Re: OnPlayerRequestClass Help - Glad2BeHere - 29.01.2013

this should help u https://sampforum.blast.hk/showthread.php?tid=376170