SA-MP Forums Archive
Re: Help With Class Selection (solved thanks to dice7 and weirdosport) - 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: Re: Help With Class Selection (solved thanks to dice7 and weirdosport) (/showthread.php?tid=91428)



Re: Help With Class Selection (solved thanks to dice7 and weirdosport) - wilcock33 - 14.08.2009

Код:
	SetPlayerPos(playerid, 431.3995,2544.5330,21.7320);
	SetPlayerFacingAngle(playerid,308.1646);
	SetPlayerCameraPos(playerid, 436.3826,2548.7468,21.5952);
	SetPlayerCameraLookAt(playerid, 436.3826,2548.7468,21.5952);
	PlayerPlaySound(playerid, 1187,0,0,0);
the camera looks the wrong way,

whats the matter with it?


Re: Help With Class Selection - Weirdosport - 14.08.2009

pawn Код:
SetPlayerPos(playerid, 431.3995,2544.5330,21.7320);
SetPlayerFacingAngle(playerid,308.1646);
SetPlayerCameraPos(playerid, 436.3826,2548.7468,21.5952);
SetPlayerCameraLookAt(playerid, 431.3995,2544.5330,21.7320);
PlayerPlaySound(playerid, 1187,0,0,0);



Re: Help With Class Selection - wilcock33 - 14.08.2009

thanks, can you explain what you did?

so i know for next time?

thanks


Re: Help With Class Selection - dice7 - 14.08.2009

He set the camera to look at the players position


Re: Help With Class Selection - wilcock33 - 14.08.2009

i did that

i dont understand :S


Re: Help With Class Selection - dice7 - 14.08.2009

You set the camera to look at its own position


Re: Help With Class Selection (solved thanks to dice7 and weirdosport) - wilcock33 - 14.08.2009

oh i get it now :P thanks much