AttachObjectToVehicle
#3

Код:
new ORancher[2];

new vehicleid=GetPlayerVehicleID(playerid);
ORancher[0] = CreateObject(19601,0,0,-1000,0,0,0,100);
ORancher[1] = CreateObject(19601,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(ORancher[0], vehicleid, 0.000000, 3.025021, -0.629999, 177.885086, 0.000000, 0.000000); //Object Model: 19601 | objeto
AttachObjectToVehicle(ORancher[1], vehicleid, 0.000000, 3.025021, 0.234999, 154.769973, 0.000000, 0.000000); //Object Model: 19601 | objeto
in this way it can also or should be necessary to define it as:
Код:
new ORancher [MAX_VEHICLES]; ????
Reply


Messages In This Thread
AttachObjectToVehicle - by Matyaas - 01.02.2018, 19:55
Re: AttachObjectToVehicle - by Mugala - 01.02.2018, 20:19
Re: AttachObjectToVehicle - by Matyaas - 02.02.2018, 03:06
Re: AttachObjectToVehicle - by Mugala - 02.02.2018, 09:56

Forum Jump:


Users browsing this thread: 1 Guest(s)