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



OnPlayerRequestClass? - Luis- - 06.10.2010

I have a problem on "OnPlayerRequestClass", When I join my server in the Class Selection the skins don't face the camera they always move.

pawn Код:
SetPlayerInterior(playerid,3);
    SetPlayerPos(playerid,-2654.4,1424.2,912.4);
    SetPlayerCameraPos(playerid,-2654.4-1.5,1424.2,912.4+0.7);
    SetPlayerCameraLookAt(playerid,-2654.4,1424.2,912.4+0.7);
    SetPlayerFacingAngle(playerid, 193.5394);



Re: OnPlayerRequestClass? - Mike_Peterson - 06.10.2010

You got two choices.. either go edit all addplayerclass's and edit the angle co-ordinates of all of them with a correct one... or either rotate ur camera so it will look good which is way easier.