Jump to content

Question

Posted

Nick: w3b

Problema: Cum pot face ca o masina sa se spawneze tunata , cu paintjob cu spoiler , jante.. ect eu am incercat sa ii atasez obiectele dar problema este ca daca playerul merge sa o tuneze se suprapun obiectele puse de mn cu cele puse la tuning nush cum sa fac sa mearga...

Errori: -

Linii script: -

Ai incercat sa rezolvi singur ? : am incercat sa ii atasez eu obiectele

5 answers to this question

Recommended Posts

Posted

[pawn]//Header

new vehicle;

public OnGameModeInit(playerid) sau public OnFilterScriptInit(playerid)

{

    vehicle = CreateVehicle(model, X, Y, Z, Angle, Color1, Color2, Respawn);

    AddVehicleComponent(vehicle, 1046);

    AddVehicleComponent(vehicle, 1171);

  //ETC

//Alte Scripturi

    return 1;

}[/pawn]

OFF: Scuze 2x post, din greseala am postat de 2 ori, rog sa fie sters postul anterior!

Posted

am incercat :

[pawn]new vehicle;

    vehicle = FastCar[2] = AddStaticVehicleEx(560,-66.1391,-1560.0634,2.3193,224.7616,6,1, 60000); // Sultan fast

    AddVehicleComponent(vehicle, 1046);

    AddVehicleComponent(vehicle, 1146);[/pawn] dar nu apar componentele

Posted

[tt]new vehicle;

FastCar[ 2 ] = AddStaticVehicleEx( 560, -66.1391, -1560.0634, 2.3193, 224.7616, 6, 1, 60000 ); // Sultan fast

AddVehicleComponent( FastCar[ 2 ] , 1046 );

AddVehicleComponent( FastCar[ 2 ] , 1146 );[/tt]

7bdea99b11.png

rimmon curv.

Posted

Gata am rezolvar :D

Am facut asa :

[pawn]for(new i = 0; i<sizeof(FastCarSultan); i++)

  {

  ChangeVehiclePaintjob(FastCarSultan,0); // paint job

  AddVehicleComponent(FastCarSultan, 1033); // roof

  AddVehicleComponent(FastCarSultan, 1010); // nos

  AddVehicleComponent(FastCarSultan, 1080); // rim

  AddVehicleComponent(FastCarSultan, 1029); // exhaust

  AddVehicleComponent(FastCarSultan, 1026); // side

  AddVehicleComponent(FastCarSultan, 1170); // front

  AddVehicleComponent(FastCarSultan, 1140); // rear

  AddVehicleComponent(FastCarSultan, 1139); // Spoiler

  }[/pawn]

si a mers :D

Dati t/c la topic

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.