Jump to content
  • 0

Cum adaug /ltc


florin

Question

15 answers to this question

Recommended Posts

Pune astea in OnPlayerCommandText


        if (strcmp(cmdtext, "/ltc1", true)==0)
{
    new idcarro;
idcarro = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
{
AddVehicleComponent(idcarro,1046);
AddVehicleComponent(idcarro,1171);
AddVehicleComponent(idcarro,1149);
AddVehicleComponent(idcarro,1035);
AddVehicleComponent(idcarro,1147);
AddVehicleComponent(idcarro,1036);
AddVehicleComponent(idcarro,1040);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
AddVehicleComponent(idcarro,1028);
AddVehicleComponent(idcarro,1169);
AddVehicleComponent(idcarro,1141);
AddVehicleComponent(idcarro,1032);
AddVehicleComponent(idcarro,1138);
AddVehicleComponent(idcarro,1026);
AddVehicleComponent(idcarro,1027);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
{
AddVehicleComponent(idcarro,1046);
AddVehicleComponent(idcarro,1153);
AddVehicleComponent(idcarro,1150);
AddVehicleComponent(idcarro,1054);
AddVehicleComponent(idcarro,1049);
AddVehicleComponent(idcarro,1047);
AddVehicleComponent(idcarro,1051);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
{
AddVehicleComponent(idcarro,1065);
AddVehicleComponent(idcarro,1160);
AddVehicleComponent(idcarro,1159);
AddVehicleComponent(idcarro,1067);
AddVehicleComponent(idcarro,1162);
AddVehicleComponent(idcarro,1069);
AddVehicleComponent(idcarro,1071);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
{
AddVehicleComponent(idcarro,1064);
AddVehicleComponent(idcarro,1155);
AddVehicleComponent(idcarro,1154);
AddVehicleComponent(idcarro,1055);
AddVehicleComponent(idcarro,1158);
AddVehicleComponent(idcarro,1056);
AddVehicleComponent(idcarro,1062);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
AddVehicleComponent(idcarro,1089);
AddVehicleComponent(idcarro,1166);
AddVehicleComponent(idcarro,1168);
AddVehicleComponent(idcarro,1088);
AddVehicleComponent(idcarro,1164);
AddVehicleComponent(idcarro,1090);
AddVehicleComponent(idcarro,1094);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
{
AddVehicleComponent(idcarro,1044);
AddVehicleComponent(idcarro,1174);
AddVehicleComponent(idcarro,1176);
AddVehicleComponent(idcarro,1042);
AddVehicleComponent(idcarro,1099);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
{
AddVehicleComponent(idcarro,1126);
        AddVehicleComponent(idcarro,1179);
AddVehicleComponent(idcarro,1180);
AddVehicleComponent(idcarro,1122);
AddVehicleComponent(idcarro,1101);
AddVehicleComponent(idcarro,1125);
AddVehicleComponent(idcarro,1123);
AddVehicleComponent(idcarro,1100);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
{
AddVehicleComponent(idcarro,1104);
AddVehicleComponent(idcarro,1182);
AddVehicleComponent(idcarro,1184);
AddVehicleComponent(idcarro,1108);
AddVehicleComponent(idcarro,1107);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
{
AddVehicleComponent(idcarro,1129);
AddVehicleComponent(idcarro,1189);
AddVehicleComponent(idcarro,1187);
AddVehicleComponent(idcarro,1102);
AddVehicleComponent(idcarro,1133);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 0);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1139);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1013);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1086);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
{
AddVehicleComponent(idcarro,1086);
AddVehicleComponent(idcarro,1139);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1012);
AddVehicleComponent(idcarro,1013);
AddVehicleComponent(idcarro,1042);
AddVehicleComponent(idcarro,1043);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1006);
AddVehicleComponent(idcarro,1007);
AddVehicleComponent(idcarro,1017);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
{
ChangeVehiclePaintjob(idcarro,0);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,1191);
AddVehicleComponent(idcarro,1193);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1134);
AddVehicleComponent(idcarro,1137);
}
else
{
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
return 1;
}
if (strcmp(cmdtext, "/ltc2", true)==0)
{
new idcarro;
idcarro = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
{
AddVehicleComponent(idcarro,1046);
AddVehicleComponent(idcarro,1171);
AddVehicleComponent(idcarro,1149);
AddVehicleComponent(idcarro,1035);
AddVehicleComponent(idcarro,1147);
AddVehicleComponent(idcarro,1036);
AddVehicleComponent(idcarro,1040);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
AddVehicleComponent(idcarro,1028);
AddVehicleComponent(idcarro,1169);
AddVehicleComponent(idcarro,1141);
AddVehicleComponent(idcarro,1032);
AddVehicleComponent(idcarro,1138);
AddVehicleComponent(idcarro,1026);
AddVehicleComponent(idcarro,1027);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
{
AddVehicleComponent(idcarro,1046);
AddVehicleComponent(idcarro,1153);
AddVehicleComponent(idcarro,1150);
AddVehicleComponent(idcarro,1054);
AddVehicleComponent(idcarro,1049);
AddVehicleComponent(idcarro,1047);
AddVehicleComponent(idcarro,1051);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
{
AddVehicleComponent(idcarro,1065);
AddVehicleComponent(idcarro,1160);
AddVehicleComponent(idcarro,1159);
AddVehicleComponent(idcarro,1067);
AddVehicleComponent(idcarro,1162);
AddVehicleComponent(idcarro,1069);
AddVehicleComponent(idcarro,1071);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
{
AddVehicleComponent(idcarro,1064);
AddVehicleComponent(idcarro,1155);
AddVehicleComponent(idcarro,1154);
AddVehicleComponent(idcarro,1055);
AddVehicleComponent(idcarro,1158);
AddVehicleComponent(idcarro,1056);
AddVehicleComponent(idcarro,1062);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
AddVehicleComponent(idcarro,1089);
AddVehicleComponent(idcarro,1166);
AddVehicleComponent(idcarro,1168);
AddVehicleComponent(idcarro,1088);
AddVehicleComponent(idcarro,1164);
AddVehicleComponent(idcarro,1090);
AddVehicleComponent(idcarro,1094);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
{
AddVehicleComponent(idcarro,1044);
AddVehicleComponent(idcarro,1174);
AddVehicleComponent(idcarro,1176);
AddVehicleComponent(idcarro,1042);
AddVehicleComponent(idcarro,1099);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
{
AddVehicleComponent(idcarro,1126);
    AddVehicleComponent(idcarro,1179);
AddVehicleComponent(idcarro,1180);
AddVehicleComponent(idcarro,1122);
AddVehicleComponent(idcarro,1101);
AddVehicleComponent(idcarro,1125);
AddVehicleComponent(idcarro,1123);
AddVehicleComponent(idcarro,1100);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
{
AddVehicleComponent(idcarro,1104);
AddVehicleComponent(idcarro,1182);
AddVehicleComponent(idcarro,1184);
AddVehicleComponent(idcarro,1108);
AddVehicleComponent(idcarro,1107);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
{
AddVehicleComponent(idcarro,1129);
AddVehicleComponent(idcarro,1189);
AddVehicleComponent(idcarro,1187);
AddVehicleComponent(idcarro,1102);
AddVehicleComponent(idcarro,1133);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 1);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1139);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1013);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1086);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
{
AddVehicleComponent(idcarro,1086);
AddVehicleComponent(idcarro,1139);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1012);
AddVehicleComponent(idcarro,1013);
AddVehicleComponent(idcarro,1042);
AddVehicleComponent(idcarro,1043);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1006);
AddVehicleComponent(idcarro,1007);
AddVehicleComponent(idcarro,1017);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
{
ChangeVehiclePaintjob(idcarro,1);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,1191);
AddVehicleComponent(idcarro,1193);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1134);
AddVehicleComponent(idcarro,1137);
}
else
{
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
return 1;
}
if (strcmp(cmdtext, "/ltc3", true)==0)
{
new idcarro;
idcarro = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
{
AddVehicleComponent(idcarro,1046);
AddVehicleComponent(idcarro,1171);
AddVehicleComponent(idcarro,1149);
AddVehicleComponent(idcarro,1035);
AddVehicleComponent(idcarro,1147);
AddVehicleComponent(idcarro,1036);
AddVehicleComponent(idcarro,1040);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
AddVehicleComponent(idcarro,1028);
AddVehicleComponent(idcarro,1169);
AddVehicleComponent(idcarro,1141);
AddVehicleComponent(idcarro,1032);
AddVehicleComponent(idcarro,1138);
AddVehicleComponent(idcarro,1026);
AddVehicleComponent(idcarro,1027);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
{
AddVehicleComponent(idcarro,1046);
AddVehicleComponent(idcarro,1153);
AddVehicleComponent(idcarro,1150);
AddVehicleComponent(idcarro,1054);
AddVehicleComponent(idcarro,1049);
AddVehicleComponent(idcarro,1047);
AddVehicleComponent(idcarro,1051);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
{
AddVehicleComponent(idcarro,1065);
AddVehicleComponent(idcarro,1160);
AddVehicleComponent(idcarro,1159);
AddVehicleComponent(idcarro,1067);
AddVehicleComponent(idcarro,1162);
AddVehicleComponent(idcarro,1069);
AddVehicleComponent(idcarro,1071);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
{
AddVehicleComponent(idcarro,1064);
AddVehicleComponent(idcarro,1155);
AddVehicleComponent(idcarro,1154);
AddVehicleComponent(idcarro,1055);
AddVehicleComponent(idcarro,1158);
AddVehicleComponent(idcarro,1056);
AddVehicleComponent(idcarro,1062);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
AddVehicleComponent(idcarro,1089);
AddVehicleComponent(idcarro,1166);
AddVehicleComponent(idcarro,1168);
AddVehicleComponent(idcarro,1088);
AddVehicleComponent(idcarro,1164);
AddVehicleComponent(idcarro,1090);
AddVehicleComponent(idcarro,1094);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
{
AddVehicleComponent(idcarro,1044);
AddVehicleComponent(idcarro,1174);
AddVehicleComponent(idcarro,1176);
AddVehicleComponent(idcarro,1042);
AddVehicleComponent(idcarro,1099);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
{
AddVehicleComponent(idcarro,1126);
    AddVehicleComponent(idcarro,1179);
AddVehicleComponent(idcarro,1180);
AddVehicleComponent(idcarro,1122);
AddVehicleComponent(idcarro,1101);
AddVehicleComponent(idcarro,1125);
AddVehicleComponent(idcarro,1123);
AddVehicleComponent(idcarro,1100);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
{
AddVehicleComponent(idcarro,1104);
AddVehicleComponent(idcarro,1182);
AddVehicleComponent(idcarro,1184);
AddVehicleComponent(idcarro,1108);
AddVehicleComponent(idcarro,1107);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
{
AddVehicleComponent(idcarro,1129);
AddVehicleComponent(idcarro,1189);
AddVehicleComponent(idcarro,1187);
AddVehicleComponent(idcarro,1102);
AddVehicleComponent(idcarro,1133);
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
ChangeVehiclePaintjob(idcarro, 2);
ChangeVehicleColor(idcarro, 1, 1);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1139);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1013);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1086);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
{
AddVehicleComponent(idcarro,1086);
AddVehicleComponent(idcarro,1139);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1012);
AddVehicleComponent(idcarro,1013);
AddVehicleComponent(idcarro,1042);
AddVehicleComponent(idcarro,1043);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1006);
AddVehicleComponent(idcarro,1007);
AddVehicleComponent(idcarro,1017);
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
{
ChangeVehiclePaintjob(idcarro,2);
ChangeVehicleColor(idcarro, 1, 1);
AddVehicleComponent(idcarro,1191);
AddVehicleComponent(idcarro,1193);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1081);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1134);
AddVehicleComponent(idcarro,1137);
}
else
{
AddVehicleComponent(idcarro,nitro);
AddVehicleComponent(idcarro,rodawire);
AddVehicleComponent(idcarro,suspensao);
}
return 1;
}

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Nu imi compileaza imi da 26 de eror postez aici eruarile?

Intai zi-mi daca ai pus comenzile dupa modelul asta:

public OnPlayerCommandText(playerid, cmdtext[])
{
    //alea cu new si etc
   
    //comenzile aici, cum ti le-am dat
    return 0;
}

Daca le-ai pus asa, posteaza erorile.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Viorel pana la urma le-am bagat in gamemode fara eruari dar nu merge dau /ltc1 si nu se intampla nimic :((

   if (strcmp(cmdtext, "/ltc1", true)==0)
	{
    new idcarro;
    idcarro = GetPlayerVehicleID(playerid);
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
	{
	AddVehicleComponent(idcarro,1046);
	AddVehicleComponent(idcarro,1171);
	AddVehicleComponent(idcarro,1149);
	AddVehicleComponent(idcarro,1035);
	AddVehicleComponent(idcarro,1147);
	AddVehicleComponent(idcarro,1036);
	AddVehicleComponent(idcarro,1040);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
	{
	AddVehicleComponent(idcarro,1028);
	AddVehicleComponent(idcarro,1169);
	AddVehicleComponent(idcarro,1141);
	AddVehicleComponent(idcarro,1032);
	AddVehicleComponent(idcarro,1138);
	AddVehicleComponent(idcarro,1026);
 	AddVehicleComponent(idcarro,1027);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
	{
	AddVehicleComponent(idcarro,1046);
	AddVehicleComponent(idcarro,1153);
	AddVehicleComponent(idcarro,1150);
	AddVehicleComponent(idcarro,1054);
	AddVehicleComponent(idcarro,1049);
	AddVehicleComponent(idcarro,1047);
 	AddVehicleComponent(idcarro,1051);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
	{
	AddVehicleComponent(idcarro,1065);
	AddVehicleComponent(idcarro,1160);
	AddVehicleComponent(idcarro,1159);
	AddVehicleComponent(idcarro,1067);
	AddVehicleComponent(idcarro,1162);
	AddVehicleComponent(idcarro,1069);
 	AddVehicleComponent(idcarro,1071);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
	{
	AddVehicleComponent(idcarro,1064);
	AddVehicleComponent(idcarro,1155);
	AddVehicleComponent(idcarro,1154);
	AddVehicleComponent(idcarro,1055);
	AddVehicleComponent(idcarro,1158);
	AddVehicleComponent(idcarro,1056);
 	AddVehicleComponent(idcarro,1062);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
	{
	AddVehicleComponent(idcarro,1089);
	AddVehicleComponent(idcarro,1166);
	AddVehicleComponent(idcarro,1168);
	AddVehicleComponent(idcarro,1088);
	AddVehicleComponent(idcarro,1164);
	AddVehicleComponent(idcarro,1090);
 	AddVehicleComponent(idcarro,1094);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
	{
	AddVehicleComponent(idcarro,1044);
	AddVehicleComponent(idcarro,1174);
	AddVehicleComponent(idcarro,1176);
	AddVehicleComponent(idcarro,1042);
 	AddVehicleComponent(idcarro,1099);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
	{
	AddVehicleComponent(idcarro,1126);
    AddVehicleComponent(idcarro,1179);
	AddVehicleComponent(idcarro,1180);
	AddVehicleComponent(idcarro,1122);
 	AddVehicleComponent(idcarro,1101);
 	AddVehicleComponent(idcarro,1125);
 	AddVehicleComponent(idcarro,1123);
 	AddVehicleComponent(idcarro,1100);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
	{
	AddVehicleComponent(idcarro,1104);
	AddVehicleComponent(idcarro,1182);
	AddVehicleComponent(idcarro,1184);
	AddVehicleComponent(idcarro,1108);
 	AddVehicleComponent(idcarro,1107);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
	{
	AddVehicleComponent(idcarro,1129);
	AddVehicleComponent(idcarro,1189);
	AddVehicleComponent(idcarro,1187);
	AddVehicleComponent(idcarro,1102);
 	AddVehicleComponent(idcarro,1133);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
	{
	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1139);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
	{
	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1013);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1086);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
	{
	AddVehicleComponent(idcarro,1086);
 	AddVehicleComponent(idcarro,1139);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1012);
 	AddVehicleComponent(idcarro,1013);
 	AddVehicleComponent(idcarro,1042);
 	AddVehicleComponent(idcarro,1043);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1006);
 	AddVehicleComponent(idcarro,1007);
 	AddVehicleComponent(idcarro,1017);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
	{
	ChangeVehiclePaintjob(idcarro,0);
	ChangeVehicleColor(idcarro, 1, 1);
 	AddVehicleComponent(idcarro,1191);
 	AddVehicleComponent(idcarro,1193);
 	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1134);
 	AddVehicleComponent(idcarro,1137);
	}
	else
	{
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
 	return 1;
	}
   if (strcmp(cmdtext, "/ltc2", true)==0)
	{
	new idcarro;
	idcarro = GetPlayerVehicleID(playerid);
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
	{
	AddVehicleComponent(idcarro,1046);
	AddVehicleComponent(idcarro,1171);
	AddVehicleComponent(idcarro,1149);
	AddVehicleComponent(idcarro,1035);
	AddVehicleComponent(idcarro,1147);
	AddVehicleComponent(idcarro,1036);
	AddVehicleComponent(idcarro,1040);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
	{
	AddVehicleComponent(idcarro,1028);
	AddVehicleComponent(idcarro,1169);
	AddVehicleComponent(idcarro,1141);
	AddVehicleComponent(idcarro,1032);
	AddVehicleComponent(idcarro,1138);
	AddVehicleComponent(idcarro,1026);
 	AddVehicleComponent(idcarro,1027);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
	{
	AddVehicleComponent(idcarro,1046);
	AddVehicleComponent(idcarro,1153);
	AddVehicleComponent(idcarro,1150);
	AddVehicleComponent(idcarro,1054);
	AddVehicleComponent(idcarro,1049);
	AddVehicleComponent(idcarro,1047);
 	AddVehicleComponent(idcarro,1051);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
	{
	AddVehicleComponent(idcarro,1065);
	AddVehicleComponent(idcarro,1160);
	AddVehicleComponent(idcarro,1159);
	AddVehicleComponent(idcarro,1067);
	AddVehicleComponent(idcarro,1162);
	AddVehicleComponent(idcarro,1069);
 	AddVehicleComponent(idcarro,1071);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
	{
	AddVehicleComponent(idcarro,1064);
	AddVehicleComponent(idcarro,1155);
	AddVehicleComponent(idcarro,1154);
	AddVehicleComponent(idcarro,1055);
	AddVehicleComponent(idcarro,1158);
	AddVehicleComponent(idcarro,1056);
 	AddVehicleComponent(idcarro,1062);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
	{
	AddVehicleComponent(idcarro,1089);
	AddVehicleComponent(idcarro,1166);
	AddVehicleComponent(idcarro,1168);
	AddVehicleComponent(idcarro,1088);
	AddVehicleComponent(idcarro,1164);
	AddVehicleComponent(idcarro,1090);
 	AddVehicleComponent(idcarro,1094);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
	{
	AddVehicleComponent(idcarro,1044);
	AddVehicleComponent(idcarro,1174);
	AddVehicleComponent(idcarro,1176);
	AddVehicleComponent(idcarro,1042);
 	AddVehicleComponent(idcarro,1099);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
	{
	AddVehicleComponent(idcarro,1126);
    AddVehicleComponent(idcarro,1179);
	AddVehicleComponent(idcarro,1180);
	AddVehicleComponent(idcarro,1122);
 	AddVehicleComponent(idcarro,1101);
 	AddVehicleComponent(idcarro,1125);
 	AddVehicleComponent(idcarro,1123);
 	AddVehicleComponent(idcarro,1100);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
	{
	AddVehicleComponent(idcarro,1104);
	AddVehicleComponent(idcarro,1182);
	AddVehicleComponent(idcarro,1184);
	AddVehicleComponent(idcarro,1108);
 	AddVehicleComponent(idcarro,1107);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
	{
	AddVehicleComponent(idcarro,1129);
	AddVehicleComponent(idcarro,1189);
	AddVehicleComponent(idcarro,1187);
	AddVehicleComponent(idcarro,1102);
 	AddVehicleComponent(idcarro,1133);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 1);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
	{
	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1139);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
	{
	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1013);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1086);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
	{
	AddVehicleComponent(idcarro,1086);
 	AddVehicleComponent(idcarro,1139);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1012);
 	AddVehicleComponent(idcarro,1013);
 	AddVehicleComponent(idcarro,1042);
 	AddVehicleComponent(idcarro,1043);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1006);
 	AddVehicleComponent(idcarro,1007);
 	AddVehicleComponent(idcarro,1017);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
	{
	ChangeVehiclePaintjob(idcarro,1);
	ChangeVehicleColor(idcarro, 1, 1);
 	AddVehicleComponent(idcarro,1191);
 	AddVehicleComponent(idcarro,1193);
 	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1134);
 	AddVehicleComponent(idcarro,1137);
	}
	else
	{
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
 	return 1;
	}
	if (strcmp(cmdtext, "/ltc3", true)==0)
	{
	new idcarro;
	idcarro = GetPlayerVehicleID(playerid);
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
	{
	AddVehicleComponent(idcarro,1046);
	AddVehicleComponent(idcarro,1171);
	AddVehicleComponent(idcarro,1149);
	AddVehicleComponent(idcarro,1035);
	AddVehicleComponent(idcarro,1147);
	AddVehicleComponent(idcarro,1036);
	AddVehicleComponent(idcarro,1040);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
	{
	AddVehicleComponent(idcarro,1028);
	AddVehicleComponent(idcarro,1169);
	AddVehicleComponent(idcarro,1141);
	AddVehicleComponent(idcarro,1032);
	AddVehicleComponent(idcarro,1138);
	AddVehicleComponent(idcarro,1026);
 	AddVehicleComponent(idcarro,1027);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
	{
	AddVehicleComponent(idcarro,1046);
	AddVehicleComponent(idcarro,1153);
	AddVehicleComponent(idcarro,1150);
	AddVehicleComponent(idcarro,1054);
	AddVehicleComponent(idcarro,1049);
	AddVehicleComponent(idcarro,1047);
 	AddVehicleComponent(idcarro,1051);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
	{
	AddVehicleComponent(idcarro,1065);
	AddVehicleComponent(idcarro,1160);
	AddVehicleComponent(idcarro,1159);
	AddVehicleComponent(idcarro,1067);
	AddVehicleComponent(idcarro,1162);
	AddVehicleComponent(idcarro,1069);
 	AddVehicleComponent(idcarro,1071);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
	{
	AddVehicleComponent(idcarro,1064);
	AddVehicleComponent(idcarro,1155);
	AddVehicleComponent(idcarro,1154);
	AddVehicleComponent(idcarro,1055);
	AddVehicleComponent(idcarro,1158);
	AddVehicleComponent(idcarro,1056);
 	AddVehicleComponent(idcarro,1062);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
	{
	AddVehicleComponent(idcarro,1089);
	AddVehicleComponent(idcarro,1166);
	AddVehicleComponent(idcarro,1168);
	AddVehicleComponent(idcarro,1088);
	AddVehicleComponent(idcarro,1164);
	AddVehicleComponent(idcarro,1090);
 	AddVehicleComponent(idcarro,1094);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
	{
	AddVehicleComponent(idcarro,1044);
	AddVehicleComponent(idcarro,1174);
	AddVehicleComponent(idcarro,1176);
	AddVehicleComponent(idcarro,1042);
 	AddVehicleComponent(idcarro,1099);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
	{
	AddVehicleComponent(idcarro,1126);
    AddVehicleComponent(idcarro,1179);
	AddVehicleComponent(idcarro,1180);
	AddVehicleComponent(idcarro,1122);
 	AddVehicleComponent(idcarro,1101);
 	AddVehicleComponent(idcarro,1125);
 	AddVehicleComponent(idcarro,1123);
 	AddVehicleComponent(idcarro,1100);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
	{
	AddVehicleComponent(idcarro,1104);
	AddVehicleComponent(idcarro,1182);
	AddVehicleComponent(idcarro,1184);
	AddVehicleComponent(idcarro,1108);
 	AddVehicleComponent(idcarro,1107);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
	{
	AddVehicleComponent(idcarro,1129);
	AddVehicleComponent(idcarro,1189);
	AddVehicleComponent(idcarro,1187);
	AddVehicleComponent(idcarro,1102);
 	AddVehicleComponent(idcarro,1133);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 2);
	ChangeVehicleColor(idcarro, 1, 1);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
	{
	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1139);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
	{
	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1013);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1086);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
	{
	AddVehicleComponent(idcarro,1086);
 	AddVehicleComponent(idcarro,1139);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1012);
 	AddVehicleComponent(idcarro,1013);
 	AddVehicleComponent(idcarro,1042);
 	AddVehicleComponent(idcarro,1043);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1006);
 	AddVehicleComponent(idcarro,1007);
 	AddVehicleComponent(idcarro,1017);
	}
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
	{
	ChangeVehiclePaintjob(idcarro,2);
	ChangeVehicleColor(idcarro, 1, 1);
 	AddVehicleComponent(idcarro,1191);
 	AddVehicleComponent(idcarro,1193);
 	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1134);
 	AddVehicleComponent(idcarro,1137);
	}
	else
	{
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
 	return 1;
	}

Incearca asa

Link to comment
Share on other sites

poftim aici sper sa-ti mearga:

if (strcmp(cmdtext, "/ltc1", true)==0)
	{
    new idcarro;
	idcarro = GetPlayerVehicleID(playerid);
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
	{
	AddVehicleComponent(idcarro,1046);
	AddVehicleComponent(idcarro,1171);
	AddVehicleComponent(idcarro,1149);
	AddVehicleComponent(idcarro,1035);
	AddVehicleComponent(idcarro,1147);
	AddVehicleComponent(idcarro,1036);
	AddVehicleComponent(idcarro,1040);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
	{
	AddVehicleComponent(idcarro,1028);
	AddVehicleComponent(idcarro,1169);
	AddVehicleComponent(idcarro,1141);
	AddVehicleComponent(idcarro,1032);
	AddVehicleComponent(idcarro,1138);
	AddVehicleComponent(idcarro,1026);
 	AddVehicleComponent(idcarro,1027);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
	{
	AddVehicleComponent(idcarro,1046);
	AddVehicleComponent(idcarro,1153);
	AddVehicleComponent(idcarro,1150);
	AddVehicleComponent(idcarro,1054);
	AddVehicleComponent(idcarro,1049);
	AddVehicleComponent(idcarro,1047);
 	AddVehicleComponent(idcarro,1051);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
	{
	AddVehicleComponent(idcarro,1065);
	AddVehicleComponent(idcarro,1160);
	AddVehicleComponent(idcarro,1159);
	AddVehicleComponent(idcarro,1067);
	AddVehicleComponent(idcarro,1162);
	AddVehicleComponent(idcarro,1069);
 	AddVehicleComponent(idcarro,1071);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
	{
	AddVehicleComponent(idcarro,1064);
	AddVehicleComponent(idcarro,1155);
	AddVehicleComponent(idcarro,1154);
	AddVehicleComponent(idcarro,1055);
	AddVehicleComponent(idcarro,1158);
	AddVehicleComponent(idcarro,1056);
 	AddVehicleComponent(idcarro,1062);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
	{
	AddVehicleComponent(idcarro,1089);
	AddVehicleComponent(idcarro,1166);
	AddVehicleComponent(idcarro,1168);
	AddVehicleComponent(idcarro,1088);
	AddVehicleComponent(idcarro,1164);
	AddVehicleComponent(idcarro,1090);
 	AddVehicleComponent(idcarro,1094);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
	{
	AddVehicleComponent(idcarro,1044);
	AddVehicleComponent(idcarro,1174);
	AddVehicleComponent(idcarro,1176);
	AddVehicleComponent(idcarro,1042);
 	AddVehicleComponent(idcarro,1099);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
	{
	AddVehicleComponent(idcarro,1126);
    AddVehicleComponent(idcarro,1179);
	AddVehicleComponent(idcarro,1180);
	AddVehicleComponent(idcarro,1122);
 	AddVehicleComponent(idcarro,1101);
 	AddVehicleComponent(idcarro,1125);
 	AddVehicleComponent(idcarro,1123);
 	AddVehicleComponent(idcarro,1100);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
	{
	AddVehicleComponent(idcarro,1104);
	AddVehicleComponent(idcarro,1182);
	AddVehicleComponent(idcarro,1184);
	AddVehicleComponent(idcarro,1108);
 	AddVehicleComponent(idcarro,1107);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
	{
	AddVehicleComponent(idcarro,1129);
	AddVehicleComponent(idcarro,1189);
	AddVehicleComponent(idcarro,1187);
	AddVehicleComponent(idcarro,1102);
 	AddVehicleComponent(idcarro,1133);
 	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	ChangeVehiclePaintjob(idcarro, 0);
	ChangeVehicleColor(idcarro, 1, 1);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
	{
	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1139);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
	{
	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1013);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1086);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
	{
	AddVehicleComponent(idcarro,1086);
 	AddVehicleComponent(idcarro,1139);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1012);
 	AddVehicleComponent(idcarro,1013);
 	AddVehicleComponent(idcarro,1042);
 	AddVehicleComponent(idcarro,1043);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1006);
 	AddVehicleComponent(idcarro,1007);
 	AddVehicleComponent(idcarro,1017);
	}
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
	{
	ChangeVehiclePaintjob(idcarro,0);
	ChangeVehicleColor(idcarro, 1, 1);
 	AddVehicleComponent(idcarro,1191);
 	AddVehicleComponent(idcarro,1193);
 	AddVehicleComponent(idcarro,1010);
 	AddVehicleComponent(idcarro,1018);
 	AddVehicleComponent(idcarro,1081);
 	AddVehicleComponent(idcarro,1087);
 	AddVehicleComponent(idcarro,1134);
 	AddVehicleComponent(idcarro,1137);
	}
	else
	{
	AddVehicleComponent(idcarro,nitro);
 	AddVehicleComponent(idcarro,rodawire);
 	AddVehicleComponent(idcarro,suspensao);
	}
 	return 1;
	}

la mn merge :grin: incearca

Fara reclama in semnatura!

Link to comment
Share on other sites

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.