How can i attachedobjecttovehicle - 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: How can i attachedobjecttovehicle (
/showthread.php?tid=452147)
How can i attachedobjecttovehicle -
JayceonTaylor - 20.07.2013
Hello everybody. I Make one car with SA-MP Editor. And i add taxi object thereon. But when i entry in my server. Taxi object is on the car door. Where is my error. This is my code on Object :
pawn Код:
CreateObject(19311, 193.24170, -6.86930, 2.26210, Â 4.00000, 18.00000, -273.00000);
How must to be in attach object ?? Please help me : (
Re : How can i attachedobjecttovehicle -
JayceonTaylor - 20.07.2013
any help ?
Re: How can i attachedobjecttovehicle -
Fitri - 20.07.2013
here example
pawn Код:
new taxi = CreateVehicle(xxx);
new obj = CreateObject(19311, 193.24170, -6.86930, 2.26210, Â 4.00000, 18.00000, -273.00000);
AttachObjectToVehicle(xxxx);
https://sampwiki.blast.hk/wiki/AttachObjectToVehicle
Re : How can i attachedobjecttovehicle -
JayceonTaylor - 20.07.2013
What can i add here ?
AttachObjectToVehicle(xxxx);
Re : How can i attachedobjecttovehicle -
JayceonTaylor - 20.07.2013
pawn Код:
car1 = CreateVehicle(545,2290.9507,-67.5337,26.0736,0.0070,0,0,600);
  car1text = Create3DTextLabel( "Car - JayceonFromCompton", COLOR_RED, 0.0, 0.0, 0.0, 50.0, 0, 1 );
  taxi1 = CreateObject(19311, 193.24170, -6.86930, 2.26210,  4.00000, 18.00000, -273.00000);
  Attach3DTextLabelToVehicle( car1text, car1, 0.0, 0.0, 0.0);
  AttachObjectToVehicle(taxi1, car1, 0.8, 0.0, 0.0, 0.0, 0.0, 0.0);
Where's the my wrong ?
Re : How can i attachedobjecttovehicle -
JayceonTaylor - 20.07.2013
PLEASE HELP ME
Re : How can i attachedobjecttovehicle -
JayceonTaylor - 20.07.2013
UP...
Re: How can i attachedobjecttovehicle -
Lordzy - 20.07.2013
Rather than bumping and asking, you may better be resourceful. There's a tutorial found here in which you could get the help in attaching object to vehicle.
Here's the link anyway:
https://sampforum.blast.hk/showthread.php?tid=267742
PS: Search before posting.