10.02.2017, 10:05
Ten second (unrelated) intro for a twenty second video, okay.
It's not really smooth, is it? I think I would prefer a solution with AttachCameraToObject, moving the object for a smooth experience. I will also give you the hint that you can pass more parameters to a function than just a playerid. Camera(), OnCamera() and OnpCamera() are all exactly the same, safe for height and the timer interval. These can be passed as parameters.
It's not really smooth, is it? I think I would prefer a solution with AttachCameraToObject, moving the object for a smooth experience. I will also give you the hint that you can pass more parameters to a function than just a playerid. Camera(), OnCamera() and OnpCamera() are all exactly the same, safe for height and the timer interval. These can be passed as parameters.