if(dialogid == MECANICO_MENU_TOMAS) //tomas { if(response == 1) { new Float:cx, Float:cy, Float:cz; GetVehiclePos(idcar, cx, cy, cz); PlayerPlaySound(playerid, 1133, cx, cy, cz); switch(listitem) { case 0: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1145; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 1: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1144; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 2: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1143; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 3: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1142; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 4: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1131; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 5: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1130; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 6: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1128; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 7: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1091; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 8: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1088; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 9: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1087; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 10: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1086; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 11: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1068; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 12: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1067; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 13: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1061; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 14: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1055; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 15: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1054; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 16: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1053; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 17: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1038; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 18: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1033; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 19: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1032; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 20: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1011; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 21: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1012; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 22: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1006; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 23: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1005; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 24: { Message(playerid, COLOR_WHITE, ">- Tomas Puesta! -<"); CarInfo[idcar][cTomas] = 1004; AddVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } case 25: { Message(playerid, COLOR_WHITE, ">- Tomas Quitadas! -<"); CarInfo[idcar][cTomas] = 1004; RemoveVehicleComponent(idcar, CarInfo[idcar][cTomas]); return 1; } } } } |
zcmd(tomas, playerid, params[]) { if(Team_Mecanicos(playerid)) { if(!IsAtTaller(playerid)) return Message(playerid, COLOR_GRAD2, " No estas en el Taller!!"); if(OnDuty[playerid] == 0) return Message(playerid, COLOR_GRAD2, "No estбs de servicio!"); return ShowPlayerDialog(playerid, MECANICO_MENU_TOMAS, DIALOG_STYLE_LIST, "TomasDeAire American Custom","CochesComunes1\nCochesComunes2\nCochesCom unes3\nCochesComunes4\nTecho-Savanna5\nTecho-Savanna6\nTecho-Blade7\nUranus8\nUranus9\nHydraulicos10\nStereo11\ nJester12\nJester13\nStatum14\nStatum15\nFlash16\n Flash17\nElegy18\nSultan19\nSultan20\nCapт-Comun21\nCapт-Comun22\nCochesComunes23\nCapт-Comun24\nCapт-Comun25" , "Seleccionar", "Salir"); } else Message(playerid, COLOR_GRAD2, "No eres mecбnico!"); return 1; } |