Jump to content
  • 0

Tune Car


Deejaybwg

Question

9 answers to this question

Recommended Posts

Acolo am gasit dar scrie de exemplu:

[pawn] elegy3 = AddStaticVehicle(562,-339.6786,1514.7145,74.9981,0.9466,35,1); // /drift elegy tuned car

AddVehicleComponent(elegy3,1046);

AddVehicleComponent(elegy3,1171);

AddVehicleComponent(elegy3,1149);

AddVehicleComponent(elegy3,1035);

AddVehicleComponent(elegy3,1147);

AddVehicleComponent(elegy3,1036);

AddVehicleComponent(elegy3,1040);

ChangeVehiclePaintjob(elegy3, 2);

ChangeVehicleColor(elegy3, 1, 1);

AddVehicleComponent(elegy3,nitro);

AddVehicleComponent(elegy3,rodawire);

AddVehicleComponent(elegy3,suspensao);[/pawn]

Scrie despre o masina anumita, nu scrie despre toate masinile in general..

www.youtube.com/thebwgg

Link to comment
Share on other sites

faci asa in loc de acolo unde ai KEY_SUBMISSION

pui asta:

[pawn]

if ( newkeys == KEY_SUBMISSION && IsPlayerInAnyVehicle( playerid ) )

{

new Float:health;

new vehicleid = GetPlayerVehicleID( playerid );

GetVehicleHealth( vehicleid, health );

if ( health < 995 )

{

  RepairVehicle( GetPlayerVehicleID( playerid ) );

                        AddVehicleComponent( vehicleid, 1010 );

}

}

[/pawn]

si gata functia adauga nitro + o repara!

Fara reclama in semnatura!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.