First Person
#1

Is there any code for First Person Car if you are only passenger?

Reply
#2

Set the player's position and his camera's position + set an animation.
Reply
#3

Anyone?
Reply
#4

attach object id 19300 to vehicle and use AttachCameraToObject,

For more info

https://sampwiki.blast.hk/wiki/Samp_objects

https://sampwiki.blast.hk/wiki/AttachCameraToObject

When player leaves the car destroy that object and when vehicles respawn destroy object too , you are done
Reply
#5

doesn't he require
pawn Код:
SetPlayerCameraBehind(playerid)
??
Reply
#6

Quote:
Originally Posted by newbie scripter
Посмотреть сообщение
doesn't he require
pawn Код:
SetPlayerCameraBehind(playerid)
??
that will reset the players camera to his back , no first person mode is there in SA-MP so we need to make our own by attaching the players camera to the object. and that object needs to be set inside the vehicle so that it will be a kind of first person look from there
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)