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



Camera Possibilities. - RichyB - 22.08.2010

Is it possible to change the virtual world of a Camera without changing the Virtual World of the player?


Re: Camera Possibilities. - Retardedwolf - 22.08.2010

What do you mean Camera? SAMP's camera?

I guess no.


Re: Camera Possibilities. - tony_fitto - 22.08.2010

Well for as long the player are set in the virtual world the camera will automatic change also, If you are talking about SA:MP Cam hack for recording movies am I not able to answer the question.

-Hope it helped.


Re: Camera Possibilities. - DRIFT_HUNTER - 22.08.2010

No its not possible
I guess these is for spectating so....

Get player world and store it to variable/string
Get 2nd player's world and set 1st player same as two 2nd player
And when you need to turn off camera just get world from variable/string and set it again


Re: Camera Possibilities. - tony_fitto - 23.08.2010

Well i don't realy know how he meens but what i understand is that he is using for example

Код:
SetPlayerCameraPos(playerid, 320.0, 50.0, 170.0);
SetPlayerCameraLookAt(playerid, 324.34, 54.122, 173.35);
Then if he choose a virtual world on the character it will automatic change the virtual world for the camera aswell.

I'v tested it and it works perfect for me.