04.06.2013, 19:43
Need to fix brackets
Can u fix the brackets please
Код:
if(dialogid == 9999) { if(response) { switch(listitem) { case 0: { AddVehicleComponent(GetPlayerVehicleID(playerid),1073); //Shadow SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Shadow Tires"); } case 1: { AddVehicleComponent(GetPlayerVehicleID(playerid),1074); //Mega SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Mega Tires"); } case 2: { AddVehicleComponent(GetPlayerVehicleID(playerid),1053); //Rimshine SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Rimshine Tires"); } case 3: { AddVehicleComponent(GetPlayerVehicleID(playerid),1076); //Wires SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Wires Tires"); } case 4: { AddVehicleComponent(GetPlayerVehicleID(playerid),1077); //Classic SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Classic Tires"); } case 5: { AddVehicleComponent(GetPlayerVehicleID(playerid),1078); //Twist SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Twist Tires"); } case 6: { AddVehicleComponent(GetPlayerVehicleID(playerid),1079); //Cutter SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Cutter Tires"); } case 7: { AddVehicleComponent(GetPlayerVehicleID(playerid),1080); //Switch SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Switch Tires"); } case 8: { AddVehicleComponent(GetPlayerVehicleID(playerid),1081); //Grove SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Grove Tires"); } case 9: { AddVehicleComponent(GetPlayerVehicleID(playerid),1082); //Import SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Import Tires"); } case 10: { AddVehicleComponent(GetPlayerVehicleID(playerid),1083); //Dollar SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Dollar Tires"); } case 11: { AddVehicleComponent(GetPlayerVehicleID(playerid),1084); //Trance SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Trance Tires"); } case 12: { AddVehicleComponent(GetPlayerVehicleID(playerid),1085); //Atomic SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Atomic Tires"); } case 13: { AddVehicleComponent(GetPlayerVehicleID(playerid),1096); //Ahab SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Ahab Tires"); } case 14: { AddVehicleComponent(GetPlayerVehicleID(playerid),1097); //Virtual SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Virtual Tires"); } case 15: { AddVehicleComponent(GetPlayerVehicleID(playerid),1098); //Access SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Access Tires"); } case 16: { AddVehicleComponent(GetPlayerVehicleID(playerid),1025); //Offroad SendClientMessage(playerid, COLOR_ORANGE, "You have got changed your tires to Offroad Tires"); return 1; } }