Itt van tessék
if(strcmp(cmdtext, \"/tuningparancs\", true) == 0)
{
new nev[MAX_PLAYER_NAME];
GetPlayerName(playerid, nev, sizeof(nev));
if(strcmp(nev, \"neved\", true) == 0 || strcmp(nev, \"neved2\", true) == 0)
{
new idcarro;
idcarro = GetClosestCar(playerid);
ChangeVehiclePaintjob(idcarro, 0); // Paintjob
if(GetVehicleModel(idcarro) == 562)
{
AddVehicleComponent(idcarro,1046);
AddVehicleComponent(idcarro,1171);
AddVehicleComponent(idcarro,1149);
AddVehicleComponent(idcarro,1035);
AddVehicleComponent(idcarro,1147);
AddVehicleComponent(idcarro,1036);
AddVehicleComponent(idcarro,1040);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 560)
{
AddVehicleComponent(idcarro,1028);
AddVehicleComponent(idcarro,1169);
AddVehicleComponent(idcarro,1141);
AddVehicleComponent(idcarro,1032);
AddVehicleComponent(idcarro,1138);
AddVehicleComponent(idcarro,1026);
AddVehicleComponent(idcarro,1027);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 565)
{
AddVehicleComponent(idcarro,1046);
AddVehicleComponent(idcarro,1153);
AddVehicleComponent(idcarro,1150);
AddVehicleComponent(idcarro,1054);
AddVehicleComponent(idcarro,1049);
AddVehicleComponent(idcarro,1047);
AddVehicleComponent(idcarro,1051);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 559)
{
AddVehicleComponent(idcarro,1065);
AddVehicleComponent(idcarro,1160);
AddVehicleComponent(idcarro,1159);
AddVehicleComponent(idcarro,1067);
AddVehicleComponent(idcarro,1162);
AddVehicleComponent(idcarro,1069);
AddVehicleComponent(idcarro,1071);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 561)
{
AddVehicleComponent(idcarro,1064);
AddVehicleComponent(idcarro,1155);
AddVehicleComponent(idcarro,1154);
AddVehicleComponent(idcarro,1055);
AddVehicleComponent(idcarro,1158);
AddVehicleComponent(idcarro,1056);
AddVehicleComponent(idcarro,1062);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 558)
{
AddVehicleComponent(idcarro,1089);
AddVehicleComponent(idcarro,1166);
AddVehicleComponent(idcarro,1168);
AddVehicleComponent(idcarro,1088);
AddVehicleComponent(idcarro,1164);
AddVehicleComponent(idcarro,1090);
AddVehicleComponent(idcarro,1094);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 575)
{
AddVehicleComponent(idcarro,1044);
AddVehicleComponent(idcarro,1174);
AddVehicleComponent(idcarro,1176);
AddVehicleComponent(idcarro,1042);
AddVehicleComponent(idcarro,1099);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 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,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 536)
{
AddVehicleComponent(idcarro,1104);
AddVehicleComponent(idcarro,1182);
AddVehicleComponent(idcarro,1184);
AddVehicleComponent(idcarro,1108);
AddVehicleComponent(idcarro,1107);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 567)
{
AddVehicleComponent(idcarro,1129);
AddVehicleComponent(idcarro,1189);
AddVehicleComponent(idcarro,1187);
AddVehicleComponent(idcarro,1102);
AddVehicleComponent(idcarro,1133);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
if(GetVehicleModel(idcarro) == 420)
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1139);
}
if(GetVehicleModel(idcarro) == 400)
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1013);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1086);
}
if(GetVehicleModel(idcarro) == 401)
{
AddVehicleComponent(idcarro,1086);
AddVehicleComponent(idcarro,1139);
AddVehicleComponent(idcarro,1080);
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(idcarro) == 576)
{
AddVehicleComponent(idcarro,1191);
AddVehicleComponent(idcarro,1193);
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1018);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
AddVehicleComponent(idcarro,1134);
AddVehicleComponent(idcarro,1137);
}
else
{
AddVehicleComponent(idcarro,1010);
AddVehicleComponent(idcarro,1080);
AddVehicleComponent(idcarro,1087);
}
SendClientMessage(playerid, COLOR_GRAD2, \"Feltuningoltad a kocsid.\");
}
else SendClientMessage(playerid,COLOR_GRAD2,\"Ezt a parancsot csak a neved és a neved2 használhatja!\");
return 1;
}