SA-MP Forums Archive
AttachObjectToVehicle help? - 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: AttachObjectToVehicle help? (/showthread.php?tid=347403)



AttachObjectToVehicle help? - vvhy - 01.06.2012

(ignore the lights) I am trying to figure out if I can make it so my player camera won't get stuck on the sign I placed on the top of the vehicle like:


and a screen shot of it at an angle where it doesnt catch onto the camera:



Код:
	
new FBIsign1;

FBIsign1 = CreateObject(19353, -1726.7418, 1005.0581, 18.0842, 0.0000, 0.0000, -87.9491);

SetObjectMaterialText(FBIsign1, "FBI", 0, 140, "Arial Black", 100, 0, -32256, 0, 1);

AttachObjectToVehicle(FBIsign1, FBIVehicle1, 0.110000, -1.804998, 0.984999, 0.000000, -89.444953, 0.000000);



Re: AttachObjectToVehicle help? - Sandiel - 01.06.2012

It's a GTA/SAMP thing I guess..you can't make a player see an object from ALL angles, some objects are just unviewable from some angles.


Re: AttachObjectToVehicle help? - vvhy - 01.06.2012

I don't think you understand what I am trying to say, I am saying the object is getting in the way of the camera so the camera goes all up and close to the vehicle its attached to.

EDIT: Alright never mind I just got a different object ID that doesn't collide with anything and that includes cameras