AttachObjectToVehicle Problem
#3

Try how i did using a variable for the car

Example from samp wiki
Код:
new object1 = CreateObject(...);
new vehicle1 = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(object1, vehicle1, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
And use a if vehicle1 = id of sunrise and then add your stuff... If still isn’t working use your script and attachcameratoobject to see where the objects are after the spawn of the vehicle . that’s how i did when i had troubles
Reply


Messages In This Thread
AttachObjectToVehicle Problem - by Toxik - 18.08.2015, 01:08
Re: AttachObjectToVehicle Problem - by RoboN1X - 18.08.2015, 02:13
Re: AttachObjectToVehicle Problem - by Cenzy - 18.08.2015, 02:17
Re: AttachObjectToVehicle Problem - by Toxik - 18.08.2015, 03:20

Forum Jump:


Users browsing this thread: 1 Guest(s)