Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 8000) // Menu
- {
- if(response)
- {
- if(listitem == 0) // Clima
- {
- ShowPlayerDialog(playerid, 8001, DIALOG_STYLE_LIST, "Clima", "Ensolado \nTemporal \nNublado \nCielo azul \nTempestad de arena \noscuro \nQuente \nVapor", "Selecionar", "Cancelar");
- }
- if(listitem == 1) // Hora
- {
- ShowPlayerDialog(playerid, 8002, DIALOG_STYLE_LIST, "Hora", "1:00 \n3:00 \n5:00 \n7:00 \n9:00 \n11:00 \n13:00 \n15:00 \n17:00 \n19:00 \n21:00 \n23:00 \nVoltar", "Selecionar", "Cancelar");
- }
- }
- return 1;
- }
- if(dialogid == 8001) // Clima
- {
- if(response)
- {
- if(listitem == 0) // Ensolarado
- {
- SetWeather(5);
- }
- if(listitem == 1) // Temporal
- {
- SetWeather(;
- }
- if(listitem == 2) // Nublado
- {
- SetWeather(9);
- }
- if(listitem == 3) // Ceu Azul
- {
- SetWeather(10);
- }
- if(listitem == 4) // Tempestade de Areia
- {
- SetWeather(19);
- }
- if(listitem == 5) // Escuro
- {
- SetWeather(45);
- }
- if(listitem == 6) // Quente
- {
- SetWeather(11);
- }
- if(listitem == 7) // Voltar
- {
- ShowPlayerDialog(playerid, 8000, DIALOG_STYLE_LIST, "Free Exterminio", "Clima \nHora", "Seleccionar", "Cancelar");
- }
- }
- return 1;
- }
- if(dialogid == 8002) // Hora
- {
- if(response)
- {
- if(listitem == 0) //
- {
- SetPlayerTime(playerid,1,0);
- }
- if(listitem == 1) //
- {
- SetPlayerTime(playerid,3,0);
- }
- if(listitem == 2) //
- {
- SetPlayerTime(playerid,5,0);
- }
- if(listitem == 3) //
- {
- SetPlayerTime(playerid,7,0);
- }
- if(listitem == 4) //
- {
- SetPlayerTime(playerid,9,0);
- }
- if(listitem == 5) //
- {
- SetPlayerTime(playerid,11,0);
- }
- if(listitem == 6) //
- {
- SetPlayerTime(playerid,13,0);
- }
- if(listitem == 7) //
- {
- SetPlayerTime(playerid,15,0);
- }
- if(listitem == //
- {
- SetPlayerTime(playerid,17,0);
- }
- if(listitem == 9) //
- {
- SetPlayerTime(playerid,19,0);
- }
- if(listitem == 10) //
- {
- SetPlayerTime(playerid,21,0);
- }
- if(listitem == 11) //
- {
- SetPlayerTime(playerid,23,0);
- }
- if(listitem == 12) //
- {
- ShowPlayerDialog(playerid, 8000, DIALOG_STYLE_LIST, "Free Exterminio", "Clima \nHora", "Seleccionar", "Cancelar");
- }
- }
- }
- if(dialogid == MENU_FIGHT)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerFightingStyle(playerid,FIGHT_STYLE_BOXING );
- SendClientMessage(playerid,COLOR_ORANGE,"[FIGHT]Has seleccionado un estilo de pelea");
- }
- if(listitem == 1)
- {
- SetPlayerFightingStyle(playerid,FIGHT_STYLE_KUNGFU );
- SendClientMessage(playerid,COLOR_ORANGE,"[FIGHT]Has seleccionado un estilo de pelea");
- }
- if(listitem == 2)
- {
- SetPlayerFightingStyle(playerid,FIGHT_STYLE_NORMAL );
- SendClientMessage(playerid,COLOR_ORANGE,"[FIGHT]Has seleccionado un estilo de pelea");
- }
- if(listitem == 3)
- {
- SetPlayerFightingStyle(playerid,FIGHT_STYLE_GRABKI CK);
- SendClientMessage(playerid,COLOR_ORANGE,"[FIGHT]Has seleccionado un estilo de pelea");
- }
- if(listitem == 4)
- {
- SetPlayerFightingStyle(playerid,FIGHT_STYLE_ELBOW) ;
- SendClientMessage(playerid,COLOR_ORANGE,"[FIGHT]Has seleccionado un estilo de pelea");
- }
- if(listitem == 5)
- {
- SetPlayerFightingStyle(playerid,FIGHT_STYLE_KNEEHE AD);
- SendClientMessage(playerid,COLOR_ORANGE,"[FIGHT]Has seleccionado un estilo de pelea");
- }
- }
- }
- if(dialogid == 9000)
- {
- if(response)
- {
- if(listitem == 0)
- {
- ShowPlayerDialog(playerid, 9001, DIALOG_STYLE_LIST, "AUTOS", "Admiral\nBlade\nBlistac\nBravura\nBroadway\nBuffa lo\nCadrona\nCheetah\nClover\nComet\nCopCarla\nCop Carsf\nElegant\nElegy\nGlendale\nManana\nPremier\n Sabre\nSavanna\nTaxi\nVoodoo\nZr350","Seleccionar" ,"Atras");
- }
- if(listitem == 1)
- {
- ShowPlayerDialog(playerid, 9002, DIALOG_STYLE_LIST, "AUTOS RAPIDOS", "Alpha\nBanshee\nBullet\nComet\nEuros\nHotrina\nHo tring\nInfernus\nJester\nPhonix\nSultan\nSupergt\n Turismo\nUranus","Seleccionar","Atras");
- }
- if(listitem == 2)
- {
- ShowPlayerDialog(playerid, 9003, DIALOG_STYLE_LIST, "MOTOS Y BICICLETAS", "NRG-500\nFaggio\nFCR-900\nPCJ-600\nFreeway\nBF-400\nPizzaBoy\nCopBike\nSanchez\nCuatrimoto\nBike\ nBMX\nMountain Bike","Seleccionar","Atras");
- }
- if(listitem == 3)
- {
- ShowPlayerDialog(playerid, 9004, DIALOG_STYLE_LIST, "CAMIONES Y CAMIONETAS", "Ambulance\nBenson\nBobCat\nBurrito\nBus\nCamper\n Coach\nFireTruck\nPatriot\nRancher\nWalton\nDuneri de\nMonster\nVerga Movil","Seleccionar","Atras");
- }
- if(listitem == 4)
- {
- ShowPlayerDialog(playerid, 9005, DIALOG_STYLE_LIST, "AVIONES", "Rustler\nDodo\nNevada\nStuntPlane\nBeagle\nSkimer \nShamal","Seleccionar","Atras");
- }
- if(listitem == 5)
- {
- ShowPlayerDialog(playerid, 9006, DIALOG_STYLE_LIST, "HELICOPTEROS", "Cargobob\nLeviathn\nMaverick\nPolMav\nRainDanc\nS parrow\nVsnMav","Seleccionar","Atras");
- }
- if(listitem == 6)
- {
- ShowPlayerDialog(playerid, 9007, DIALOG_STYLE_LIST, "BOTES", "CoastGuard\nDhingy\nJetMax\nLaunch\nMarquis\nPred ato\nSpeedr\nSqualo\nVortex","Seleccionar","Atras" );
- }
- }
- return 1;
- }
- if(dialogid == 9001)
- {
- if(response == 1)
- {
- ShowPlayerDialog(playerid,9000,DIALOG_STYLE_LIST, "MENU DE AUTOS", "Autos\nAutos Rapidos\nMotos y Bicicletas\nCamiones y Camionetas\nAviones\nHelicopteros\nBotes", "Seleccionar","Cancelar");
- }
- if(response)
- {
- if(listitem == 1)
- {
- CarSpawner(playerid,445);
- }
- if(listitem == 1)
- {
- CarSpawner(playerid,536);
- }
- if(listitem == 2)
- {
- CarSpawner(playerid,401);
- }
- if(listitem == 3)
- {
- CarSpawner(playerid,496);
- }
- if(listitem == 4)
- {
- CarSpawner(playerid,575);
- }
- if(listitem == 5)
- {
- CarSpawner(playerid,402);
- }
- if(listitem == 6)
- {
- CarSpawner(playerid,527);
- }
- if(listitem == 7)
- {
- CarSpawner(playerid,415);
- }
- if(listitem ==
- {
- CarSpawner(playerid,542);
- }
- if(listitem == 9)
- {
- CarSpawner(playerid,480);
- }
- if(listitem == 10)
- {
- CarSpawner(playerid,596);
- }
- if(listitem == 11)
- {
- CarSpawner(playerid,597);
- }
- if(listitem == 12)
- {
- CarSpawner(playerid,507);
- }
- if(listitem == 13)
- {
- CarSpawner(playerid,562);
- }
- if(listitem == 14)
- {
- CarSpawner(playerid,466);
- }
- if(listitem == 15)
- {
- CarSpawner(playerid,410);
- }
- if(listitem == 16)
- {
- CarSpawner(playerid,426);
- }
- if(listitem == 17)
- {
- CarSpawner(playerid,475);
- }
- if(listitem == 1
- {
- CarSpawner(playerid,467);
- }
- if(listitem == 19)
- {
- CarSpawner(playerid,420);
- }
- if(listitem == 20)
- {
- CarSpawner(playerid,412);
- }
- if(listitem == 21)
- {
- CarSpawner(playerid,477);
- }
- }
- return 1;
- }
- if(dialogid == 9002)
- {
- if(response == 1)
- {
- ShowPlayerDialog(playerid,9000,DIALOG_STYLE_LIST, "MENU DE AUTOS", "Autos\nAutos Rapidos\nMotos y Bicicletas\nCamiones y Camionetas\nAviones\nHelicopteros\nBotes", "Seleccionar","Cancelar");
- }
- if(response)
- {
- if(listitem == 0)
- {
- CarSpawner(playerid,602);
- }
- if(listitem == 1)
- {
- CarSpawner(playerid,429);
- }
- if(listitem == 2)
- {
- CarSpawner(playerid,541);
- }
- if(listitem == 3)
- {
- CarSpawner(playerid,480);
- }
- if(listitem == 4)
- {
- CarSpawner(playerid,587);
- }
- if(listitem == 5)
- {
- CarSpawner(playerid,502);
- }
- if(listitem == 6)
- {
- CarSpawner(playerid,494);
- }
- if(listitem == 7)
- {
- CarSpawner(playerid,411);
- }
- if(listitem ==
- {
- CarSpawner(playerid,559);
- }
- if(listitem == 9)
- {
- CarSpawner(playerid,603);
- }
- if(listitem == 10)
- {
- CarSpawner(playerid,560);
- }
- if(listitem == 11)
- {
- CarSpawner(playerid,506);
- }
- if(listitem == 12)
- {
- CarSpawner(playerid,451);
- }
- if(listitem == 13)
- {
- CarSpawner(playerid,55;
- }
- }
- return 1;
- }
- if(dialogid == 9003)
- {
- if(response == 0)
- {
- ShowPlayerDialog(playerid,9000,DIALOG_STYLE_LIST, "MENU DE AUTOS", "Autos\nAutos Rapidos\nMotos y Perros\nCamiones y Camionetas\nAviones\nHelicopteros\nBotes", "Seleccionar","Cancelar");
- }
- if(response)
- {
- if(listitem == 0)
- {
- CarSpawner(playerid,522);
- }
- if(listitem == 1)
- {
- CarSpawner(playerid,462);
- }
- if(listitem == 2)
- {
- CarSpawner(playerid,521);
- }
- if(listitem == 3)
- {
- CarSpawner(playerid,461);
- }
- if(listitem == 4)
- {
- CarSpawner(playerid,463);
- }
- if(listitem == 5)
- {
- CarSpawner(playerid,581);
- }
- if(listitem == 6)
- {
- CarSpawner(playerid,44;
- }
- if(listitem == 7)
- {
- CarSpawner(playerid,523);
- }
- if(listitem ==
- {
- CarSpawner(playerid,46;
- }
- if(listitem == 9)
- {
- CarSpawner(playerid,471);
- }
- if(listitem == 10)
- {
- CarSpawner(playerid,509);
- }
- if(listitem == 11)
- {
- CarSpawner(playerid,481);
- }
- if(listitem == 12)
- {
- CarSpawner(playerid,510);
- }
- }
- return 1;
- }
- if(dialogid == 9004)
- {
- if(response == 0)
- {
- ShowPlayerDialog(playerid,9000,DIALOG_STYLE_LIST, "MENU DE AUTOS", "Autos\nAutos Rapidos\nMotos y Bicicletas\nCamiones y Camionetas\nAviones\nHelicopteros\nBotes", "Seleccionar","Cancelar");
- }
- if(response)
- {
- if(listitem == 0)
- {
- CarSpawner(playerid,416);
- }
- if(listitem == 1)
- {
- CarSpawner(playerid,499);
- }
- if(listitem == 2)
- {
- CarSpawner(playerid,422);
- }
- if(listitem == 3)
- {
- CarSpawner(playerid,482);
- }
- if(listitem == 4)
- {
- CarSpawner(playerid,431);
- }
- if(listitem == 5)
- {
- CarSpawner(playerid,483);
- }
- if(listitem == 6)
- {
- CarSpawner(playerid,437);
- }
- if(listitem == 7)
- {
- CarSpawner(playerid,407);
- }
- if(listitem ==
- {
- CarSpawner(playerid,470);
- }
- if(listitem == 9)
- {
- CarSpawner(playerid,489);
- }
- if(listitem == 10)
- {
- CarSpawner(playerid,57;
- }
- if(listitem == 11)
- {
- CarSpawner(playerid,573);
- }
- if(listitem == 12)
- {
- CarSpawner(playerid,444);
- }
- if(listitem == 13)
- {
- CarSpawner(playerid,423);
- }
- }
- return 1;
- }
- if(dialogid == 9005)
- {
- if(response == 0)
- {
- ShowPlayerDialog(playerid,9000,DIALOG_STYLE_LIST, "MENU DE AUTOS", "Autos\nAutos Rapidos\nMotos y Bicicletas\nCamiones y Camionetas\nAviones\nHelicopteros\nBotes", "Seleccionar","Cancelar");
- }
- if(response)
- {
- if(listitem == 0)
- {
- CarSpawner(playerid,476);
- }
- if(listitem == 1)
- {
- CarSpawner(playerid,593);
- }
- if(listitem == 2)
- {
- CarSpawner(playerid,553);
- }
- if(listitem == 3)
- {
- CarSpawner(playerid,513);
- }
- if(listitem == 4)
- {
- CarSpawner(playerid,511);
- }
- if(listitem == 5)
- {
- CarSpawner(playerid,460);
- }
- if(listitem == 6)
- {
- CarSpawner(playerid,519);
- }
- }
- return 1;
- }
- if(dialogid == 9006)
- {
- if(response == 0)
- {
- ShowPlayerDialog(playerid,9000,DIALOG_STYLE_LIST, "MENU DE AUTOS", "Autos\nAutos Rapidos\nMotos y Bicicletas\nCamiones y Camionetas\nAviones\nHelicopteros\nBotes", "Seleccionar","Cancelar");
- }
- if(response)
- {
- if(listitem == 0)
- {
- CarSpawner(playerid,54;
- }
- if(listitem == 1)
- {
- CarSpawner(playerid,417);
- }
- if(listitem == 2)
- {
- CarSpawner(playerid,487);
- }
- if(listitem == 3)
- {
- CarSpawner(playerid,497);
- }
- if(listitem == 4)
- {
- CarSpawner(playerid,563);
- }
- if(listitem == 5)
- {
- CarSpawner(playerid,469);
- }
- if(listitem == 6)
- {
- CarSpawner(playerid,48;
- }
- }
- return 1;
- }
- if(dialogid == 9007)
- {
- if(response == 0)
- {
- ShowPlayerDialog(playerid,9000,DIALOG_STYLE_LIST, "MENU DE AUTOS", "Autos\nAutos Rapidos\nMotos y Bicicletas\nCamiones y Camionetas\nAviones\nHelicopteros\nBotes", "Seleccionar","Cancelar");
- }
- if(response)
- {
- if(listitem == 0)
- {
- CarSpawner(playerid,472);
- }
- if(listitem == 1)
- {
- CarSpawner(playerid,473);
- }
- if(listitem == 2)
- {
- CarSpawner(playerid,493);
- }
- if(listitem == 3)
- {
- CarSpawner(playerid,595);
- }
- if(listitem == 4)
- {
- CarSpawner(playerid,484);
- }
- if(listitem == 5)
- {
- CarSpawner(playerid,430);
- }
- if(listitem == 6)
- {
- CarSpawner(playerid,452);
- }
- if(listitem == 7)
- {
- CarSpawner(playerid,446);
- }
- if(listitem ==
- {
- CarSpawner(playerid,539);
- }
- }
- }
- if(dialogid == Colores)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerColor(playerid, COLOR_GRIS);
- }
- if(listitem == 1)
- {
- SetPlayerColor(playerid, COLOR_GREEN);
- }
- if(listitem == 2)
- {
- SetPlayerColor(playerid, COLOR_BLACK);
- }
- if(listitem == 3)
- {
- SetPlayerColor(playerid, COLOR_RED);
- }
- if(listitem == 4)
- {
- SetPlayerColor(playerid, COLOR_YELLOW);
- }
- if(listitem == 5)
- {
- SetPlayerColor(playerid, COLOR_WHITE);
- }
- if(listitem == 6)
- {
- SetPlayerColor(playerid, COLOR_BLUE);
- }
- if(listitem == 7)
- {
- SetPlayerColor(playerid, COLOR_LIGHTBLUE);
- }
- if(listitem ==
- {
- SetPlayerColor(playerid, COLOR_ORANGE);
- }
- if(listitem == 9)
- {
- SetPlayerColor(playerid,COLOR_PINK);
- }
- if(listitem == 10)
- {
- SetPlayerColor(playerid,COLOR_BROWN);
- }
- if(listitem == 11)
- {
- SetPlayerColor(playerid,COLOR_PURPLE);
- }
- if(listitem == 12)
- {
- SetPlayerColor(playerid,COLOR_LIGREEN);
- }
- if(listitem == 13)
- {
- SetPlayerColor(playerid,COLOR_SKIN);
- }
- if(listitem == 14)
- {
- SetPlayerColor(playerid,COLOR_DARKBLUE);
- }
- if(listitem == 15)
- {
- SetPlayerColor(playerid,COLOR_MEDIUMBLUE);
- }
- }
- }
- if(dialogid == zdm)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerPos(playerid, 186.09, 1754.21, -13.46);
- GameTextForPlayer(playerid, "Dmlocos", 4000, 6);
- }
- if(listitem == 1)
- {
- SetPlayerPos(playerid, -713.19, 1921.08, 0.00);
- GameTextForPlayer(playerid, "Dk", 4000, 6);
- }
- if(listitem == 2)
- {
- SetPlayerPos(playerid, -2350.04, 117.46, 179.16);
- GameTextForPlayer(playerid, "Globodm", 4000, 6);
- }
- }
- }
- if(dialogid == Teles)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerPos(playerid, 1849.1492, -1370.1807, 13.3984);
- GameTextForPlayer(playerid, "Los Santos", 4000, 6);
- }
- if(listitem == 1)
- {
- SetPlayerPos(playerid, -1981.5832, 288.114, 35.0581);
- GameTextForPlayer(playerid, "San Fierro", 4000, 6);
- }
- if(listitem == 2)
- {
- SetPlayerPos(playerid, 2097.5502, 1014.5463, 10.8203);
- GameTextForPlayer(playerid, "Las Venturas", 4000, 6);
- }
- if(listitem == 3)
- {
- SetPlayerPos(playerid, -1270.2024, -426.6784, 14.1484);
- GameTextForPlayer(playerid, "Aeropuerto de san fierro", 4000, 6);
- }
- if(listitem == 4)
- {
- SetPlayerPos(playerid, 1958.7918, -2296.3035, 13.546;
- GameTextForPlayer(playerid, "Aeropuerto de Los Santos", 4000, 6);
- }
- if(listitem == 5)
- {
- SetPlayerPos(playerid, 1638.4111, 1591.9707, 10.8203);
- GameTextForPlayer(playerid, "Aeropuerto de Las Venturas", 4000, 6);
- }
- if(listitem == 6)
- {
- SetPlayerPos(playerid, 332.8779, 2514.2546, 16.5935);
- GameTextForPlayer(playerid, "Aeropuerto Abandonado", 4000, 6);
- }
- if(listitem == 7)
- {
- SetPlayerPos(playerid, 81.3654, 1919.9946, 17.6569);
- GameTextForPlayer(playerid, "Area 51", 4000, 6);
- }
- if(listitem ==
- {
- SetPlayerPos(playerid, 1256.1091, -785.1792, 92.0301);
- GameTextForPlayer(playerid, "madd dog", 4000, 6);
- }
- if(listitem == 9)
- {
- GameTextForPlayer(playerid, "Chilliad", 4000, 6);
- SetPlayerPos(playerid,-2283.9429,-1642.6576,483.4152);
- }
- }
- }
- if(dialogid == zdrift)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerPos(playerid, 2322.4622,1420.1311,42.8203);
- GameTextForPlayer(playerid, "Drift1", 4000, 6);
- }
- if(listitem == 1)
- {
- SetPlayerPos(playerid, -325.5508,1513.9611,75.3594);
- GameTextForPlayer(playerid, "Drift2", 4000, 6);
- }
- if(listitem == 2)
- {
- SetPlayerPos(playerid, -2402.7644,-600.4605,132.6484);
- GameTextForPlayer(playerid, "Drift3", 4000, 6);
- }
- if(listitem == 3)
- {
- SetPlayerPos(playerid, -859.0099,-118.5306,60.7863);
- GameTextForPlayer(playerid, "Drift4", 4000, 6);
- }
- if(listitem == 4)
- {
- SetPlayerPos(playerid, -2906.3794,-357.5430,3.1040);
- GameTextForPlayer(playerid, "Driftarena", 4000, 6);
- }
- }
- }
- if(dialogid == Armas)
- {
- if(response)
- {
- if(listitem == 0) /* Pistolas */
- {
- ShowPlayerDialog(playerid,Pistolas,DIALOG_STYLE_LI ST,"Categoria de Pistolas","9mm\nSilenciosa 9mm\nDesert Eagle","Elegir","Salir");
- }
- if(listitem == 1) /* Metralletas */
- {
- ShowPlayerDialog(playerid,Metralletas,DIALOG_STYLE _LIST,"Categoria de Metralletas","Micro SMG\nMP5\nAK-47\nM4\nTec9","Elegir","Salir");
- }
- if(listitem == 2) /* Escopetas */
- {
- ShowPlayerDialog(playerid,Escopetas,DIALOG_STYLE_L IST,"Categoria de Escopetas","Shotgun\nEscopeta Recortada\nEscopeta de Combate\nRifle\nSniper","Elegir","Salir");
- }
- if(listitem == 3) /* Armas Blancas */
- {
- ShowPlayerDialog(playerid,Blancas,DIALOG_STYLE_LIS T,"Categoria Armas Blancas","Manopla\nPalo Policia\nCuchilla\nKatana\nPalo de Beisball\nPala\nPalo de Pool\nMotosierra\nConsolador Morado\nVibrador Corto\nVibrador Largo\nVibrador Plateado\nFlores\nBaston","Elegir","Salir");
- }
- }
- }
- /* Categoria de Pistolas */
- if(dialogid == Pistolas)
- {
- if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid,22,1000); /* 9mm con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una 9mm con 1000 municiones");
- }
- if(listitem == 1)
- {
- GivePlayerWeapon(playerid,23,1000); /* Silenciosa 9mm con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Sileciosa 9mm con 1000 municiones");
- }
- if(listitem == 2)
- {
- GivePlayerWeapon(playerid,24,1000); /* Desert Eagle con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Desert Eagle con 1000 municiones");
- }
- }
- }
- /* Categoria de Metralletas */
- if(dialogid == Metralletas)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}No disponible utiliza /rw");
- }
- if(listitem == 1)
- {
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}No disponible utiliza /rw");
- }
- if(listitem == 2)
- {
- GivePlayerWeapon(playerid,30,1000); /* AK-47 con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una AK-47 con 1000 municiones");
- }
- if(listitem == 3)
- {
- GivePlayerWeapon(playerid,31,1000); /* M4 con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una M4 con 1000 municiones");
- }
- if(listitem == 4)
- {
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}No disponible utiliza /rw");
- }
- }
- }
- /* Categoria de Escopetas */
- if(dialogid == Escopetas)
- {
- if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid,25,1000); /* Shotgun con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Shotgun con 1000 municiones");
- }
- if(listitem == 1)
- {
- GivePlayerWeapon(playerid,26,1000); /* Escopeta Recortada con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Escopeta Recortada con 1000 municiones");
- }
- if(listitem == 2)
- {
- GivePlayerWeapon(playerid,27,1000); /* Escopeta de combate con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Escopeta de Combate con 1000 municiones");
- }
- if(listitem == 3)
- {
- GivePlayerWeapon(playerid,33,1000); /* Rifle con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Rifle con 1000 municiones");
- }
- if(listitem == 4)
- {
- GivePlayerWeapon(playerid,34,1000); /* Sniper con mil balas */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Sniper con 1000 municiones");
- }
- }
- }
- /* Categoria de Armas Blancas */
- if(dialogid == Blancas)
- {
- if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid,1,1); /* Manopla */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Manopla");
- }
- if(listitem == 1)
- {
- GivePlayerWeapon(playerid,2,1); /* Palo Policia */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Palo de Policia");
- }
- if(listitem == 2)
- {
- GivePlayerWeapon(playerid,4,1); /* Cuchillo */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Cuchillo");
- }
- if(listitem == 3)
- {
- GivePlayerWeapon(playerid,8,1); /*Katana*/
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Katana");
- }
- if(listitem == 4)
- {
- GivePlayerWeapon(playerid,5,1); /* Bate de Beisball */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Bate de BeisBall");
- }
- if(listitem == 5)
- {
- GivePlayerWeapon(playerid,6,1); /* Pala */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Pala");
- }
- if(listitem == 6)
- {
- GivePlayerWeapon(playerid,7,1); /* Palo de Pool */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Palo de Pool");
- }
- if(listitem == 7)
- {
- GivePlayerWeapon(playerid,9,1); /* Motosierra */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido una Motosierra");
- }
- if(listitem ==
- {
- GivePlayerWeapon(playerid,10,1); /* Consolador */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Consolador para divertirte");
- }
- if(listitem == 9)
- {
- GivePlayerWeapon(playerid,11,1); /* Vibrador Corto */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Vibrador Corto para divertirte");
- }
- if(listitem == 10)
- {
- GivePlayerWeapon(playerid,12,1); /* Vibrador Largo */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Vibrador Largo para divertirte");
- }
- if(listitem == 10)
- {
- GivePlayerWeapon(playerid,13,1); /* Vibrador Plateado */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Vibrador Plateado para divertirte");
- }
- if(listitem == 11)
- {
- GivePlayerWeapon(playerid,14,1); /* Flores */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido Flores para regalar");
- }
- if(listitem == 12)
- {
- GivePlayerWeapon(playerid,15,1); /* Baston */
- SendClientMessage(playerid,Rojo,"Armas: {9200FF}Haz obtenido un Baston, al parecer estas viejito");
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment