AttachObjectToVehicle
#2

pawn Code:
new UnderCoverobj[3];
UnderCoverobj[0] = CreateDynamicObject(18646,0,0,0,0,0,0);
UnderCoverObj[1] = CreateDynamicObject(18646,0,0,0,0,0,0);
AttachObjectToVehicle(UnderCoverobj[0], GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
AttachObjectToVehicle(UnderCoverobj[1], GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
You have to create the object before you can attach it. And i dont think this can be done through PVars.
Reply


Messages In This Thread
AttachObjectToVehicle - by Dragony92 - 24.08.2011, 09:12
Re: AttachObjectToVehicle - by Wesley221 - 24.08.2011, 09:19
Re: AttachObjectToVehicle - by Gh0sT_ - 24.08.2011, 09:24
Re: AttachObjectToVehicle - by Dragony92 - 24.08.2011, 09:35
Re: AttachObjectToVehicle - by Wesley221 - 24.08.2011, 09:36
Re: AttachObjectToVehicle - by Dragony92 - 24.08.2011, 09:39
Re: AttachObjectToVehicle - by Wesley221 - 24.08.2011, 09:40
Re: AttachObjectToVehicle - by Dragony92 - 24.08.2011, 09:41

Forum Jump:


Users browsing this thread: 2 Guest(s)