SA-MP Forums Archive
Attach Object to vehicle Probleme - 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: Attach Object to vehicle Probleme (/showthread.php?tid=467970)



Attach Object to vehicle Probleme - mini_mi - 05.10.2013

guys i did all tthose things but nothing happend :

Код:
new car1
new Marker
Код:
             Marker = CreateObject(19197,0,0,0,0,0,0,0);
             car1 = AddStaticVehicleEx(609, -244.6894, 2769.9709, 62.5711, 180.0000, -1, -1, 100);
	     AttachObjectToVehicle(Marker,car1, 0.8, 0.0, 88.70, 0.0, 0.0, 0.0);



Re: Attach Object to vehicle Probleme - IPrototypeI - 05.10.2013

Reduce the height from 88.70 to 2.0 i think that your object the red arrow is to height in the air and you can`t see it.


Re: Attach Object to vehicle Probleme - Dragonsaurus - 05.10.2013

Marker = CreateObject(19197, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 100.0);


Re: Attach Object to vehicle Probleme - mini_mi - 05.10.2013

i did it , i was thinking that the object in vehicle any other help


Re: Attach Object to vehicle Probleme - IPrototypeI - 05.10.2013

I already wrote it
Код:
             Marker = CreateObject(19197,0,0,0,0,0,0,0);
             car1 = AddStaticVehicleEx(609, -244.6894, 2769.9709, 62.5711, 180.0000, -1, -1, 100);
	     AttachObjectToVehicle(Marker,car1, 0.8, 0.0, 3.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(Marker,car1, 0.8, 0.0, 3.70, 0.0, 0.0, 0.0);


Re: Attach Object to vehicle Probleme - mini_mi - 05.10.2013

Quote:
Originally Posted by IPrototypeI
Посмотреть сообщение
I already wrote it
Код:
             Marker = CreateObject(19197,0,0,0,0,0,0,0);
             car1 = AddStaticVehicleEx(609, -244.6894, 2769.9709, 62.5711, 180.0000, -1, -1, 100);
	     AttachObjectToVehicle(Marker,car1, 0.8, 0.0, 3.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(Marker,car1, 0.8, 0.0, 3.70, 0.0, 0.0, 0.0);
nothing Happend


Re: Attach Object to vehicle Probleme - IPrototypeI - 05.10.2013

Then you did something wrong and @Dragonsaurus if the draw distance zero than the object will render at its default distance.

I show you a screen how it have to look and it`s with your code.




Re: Attach Object to vehicle Probleme - mini_mi - 05.10.2013

Tnx All +2rep for All