How can I set the Camera on the Class selection? - 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: How can I set the Camera on the Class selection? (
/showthread.php?tid=261640)
How can I set the Camera on the Class selection? -
Ehab1911 - 14.06.2011
Hey guys, How can I set the Camera at a certain place for the class selection ..??
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
Here is what I have, but all these coords are the original ones, I want to move the CameraPos and CameraLookAt, How can I get the right coords for it?
Thanks in advance
Re: How can I set the Camera on the Class selection? -
XxMatej94xX - 14.06.2011
[ame]http://www.youtube.com/watch?v=PFWnXssIBRA&feature=channel_video_title[/ame]