Veh Atacchemnt, need help
#4

First you have to create an object with CreateObject and save it's id

pawn Код:
new myobject;
pawn Код:
myobject = CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);
Then you can attach it to a vehicle

pawn Код:
AttachObjectToVehicle(myobject, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
I guess you just have to try different offsets to find the most suitable one.

https://sampwiki.blast.hk/wiki/CreateObject

https://sampwiki.blast.hk/wiki/AttachObjectToVehicle
Reply


Messages In This Thread
Veh Atacchemnt, need help - by Scratch - 18.05.2011, 16:28
Re: Veh Atacchemnt, need help - by MadeMan - 18.05.2011, 16:29
Re: Veh Atacchemnt, need help - by Scratch - 18.05.2011, 16:40
Re: Veh Atacchemnt, need help - by MadeMan - 18.05.2011, 17:05
Re: Veh Atacchemnt, need help - by Scratch - 18.05.2011, 17:12
Re: Veh Atacchemnt, need help - by iggy1 - 18.05.2011, 17:24
Re: Veh Atacchemnt, need help - by Scratch - 18.05.2011, 21:13
Re: Veh Atacchemnt, need help - by iggy1 - 18.05.2011, 21:32

Forum Jump:


Users browsing this thread: 4 Guest(s)