First Person View - 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: First Person View (
/showthread.php?tid=115761)
First Person View -
Puzi - 25.12.2009
Hello, I don't know whether that is possible in SA-MP, but is there any way to make a First Person view in vehicles on SA-MP? I heard it is on MTA, but I aint sure about SA-MP, so like the view is inside vehicles.
Thanks And Regards
Puzi
Re: First Person View -
Zamaroht - 25.12.2009
You could do it with SetPlayerCameraPos and all the related functions to Cameras, but since sa-mp is fully server-sided, it wouldn't work very good (that is, delayed camera, lots of server resource consumption, etc).
Re: First Person View -
dice7 - 25.12.2009
Quote:
|
Originally Posted by Zamaroht
You could do it with SetPlayerCameraPos and all the related functions to Cameras, but since sa-mp is fully server-sided, it wouldn't work very good (that is, delayed camera, lots of server resource consumption, etc).
|
Yes, if you don't want to use your mouse anymore.
Anyway, it is possible, but only when aiming. You can do it by exploiting a game bug/feature which, when you aim and walk backward to a wall, it brings the camera closer and closer to your head until it looks kinda first person.
Here's a script. It creates a PlayerObject right behind the player who's aiming with his weapon
http://forum.sa-mp.com/index.php?topic=95936.0