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



Camera and objects - Hansrutger - 03.08.2013

Hello there scripters! I would like some assistance. I am currently just playing around with pawn and I was wondering which objects are good to attach to players that do not make your character look like this: http://puu.sh/3SQh8.jpg

Problem: The current problem is that, as shown on the picture, the maximum range of the camera is that short. I have tried to with "SetCameraBehindPlayer(playerid);" but that only makes the camera go behind the character and not to full range. Hopefully you guys understand me problem.

Question: Is it the objects fault or is there a missing function that would allow the camera to go further than just on the picture? If it is the objects fault, can you please give me a good object ID because I've tried both SA-MP objects and MTA objects and none of the wished ones worked (the ones that actually looked like good boxes). So if that is the problem, then please help me find a box/crate ID.

Thank you guys in advance!


Re: Camera and objects - magnusburton - 08.08.2013

I've had this problem too and I found a cardboard box that works pretty good. Try object 3800.

SetPlayerAttachedObject(playerid, 0, 1220, 5, 0.097428, 0.320592, 0.187772, 278.084320, 0.981816, 16.546142, 1.000000, 1.000000, 1.000000);