2020-05-24, 03:18 AM
Buenas, Resulta que quiero poner este objeto en mi veh?culo de trabajo pero no se como hacerlo, si me mostrar?an un ejemplo se los agradecer?a.
El objeto:
[c?digo] nuevo myobject = CreateObject (19433,0,0, -1000,0,0,0,100);
AttachObjectToVehicle (myobject, GetPlayerVehicleID (playerid), -0.000000, -1.875000,0.375000,0.000000,121.499954, -91.799980); [/ code]
El veh?culo en el cual quiero montar el objeto:
[c?digo] nuevo San_Andreas_Vehicles [] [San_Andreas_Vehicles_Info] =
{
// taxi ls
{VEHICLE_TYPE_WORK, WORK_TAXI, 0, 420, 1792.5676, -1868.2953, 13.2887, 0.0000, 6, 1, 0},
}[/c?digo]
El objeto:
[c?digo] nuevo myobject = CreateObject (19433,0,0, -1000,0,0,0,100);
AttachObjectToVehicle (myobject, GetPlayerVehicleID (playerid), -0.000000, -1.875000,0.375000,0.000000,121.499954, -91.799980); [/ code]
El veh?culo en el cual quiero montar el objeto:
[c?digo] nuevo San_Andreas_Vehicles [] [San_Andreas_Vehicles_Info] =
{
// taxi ls
{VEHICLE_TYPE_WORK, WORK_TAXI, 0, 420, 1792.5676, -1868.2953, 13.2887, 0.0000, 6, 1, 0},
}[/c?digo]