Setting player camera in an interior? - 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: Setting player camera in an interior? (
/showthread.php?tid=487027)
Setting player camera in an interior? -
Cryptic - 11.01.2014
I want to make a command set the player's camera on the entrance of a certain house interior. I have already gotten the x,y,z of the entrance. Is it possible to do so without changing the player's position? How? Thanks.
Re: Setting player camera in an interior? -
Jason_Roul - 11.01.2014
I've also been wondering this. Anyone?
Re: Setting player camera in an interior? -
BlueBaron - 11.01.2014
You can use :
SetPlayerCameraPos and
SetPlayerCameraLookAt. Click on the for further information.
Re: Setting player camera in an interior? -
Cryptic - 11.01.2014
Quote:
Originally Posted by bluebaron
|
Already tried that. What I mean is: Using both codes above to work in an interior, with different Interior & VirtualWorld, without moving the player's position. Similar to a spectating command, just not spectating a certain person.
Re: Setting player camera in an interior? -
Jason_Roul - 11.01.2014
I am using it but the thing is that I'm making it so it looks at a house's entrance, but it looks at some random fucked up place.
Re: Setting player camera in an interior? -
Jason_Roul - 11.01.2014
Bump, still need this guys. Help! :/.
Re: Setting player camera in an interior? -
Jason_Roul - 11.01.2014
Third bump guys xD.
Re: Setting player camera in an interior? -
Seif- - 11.01.2014
You have to set the player's interior to see the interior itself, and the player has to be in it or near it so he can view the objects correctly. The game streams objects near the player, so you cannot place a camera in an interior without setting the player's interior also.