Advertisement
Chip7

[FS] FilterScript Comandos em Dialog

Aug 20th, 2012
560
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 38.31 KB | None | 0 0
  1. /*
  2. VISITE NOSSO SITE: http://www.sampknd.com/
  3. SAMP KND MELHOR BLOG DE SAMP DO BRASIL
  4.  
  5. Algumas coisas tirei base de gm que eu tinha aqui!
  6. CONTEM
  7. /CIDADES
  8. /MLUTA
  9. /CLIMA
  10. /CORES
  11. /VEICULOS
  12. CREDITOS A [UnC]BILLY_The_KiD ou [UnC]VoVaZ_DDs
  13. ==============================================================================*/
  14.  
  15. #include <a_samp>
  16. #include <zcmd>
  17.  
  18. #define VEICULOS  3600
  19. #define Clima 6
  20. #define Cores 5
  21. #if defined FILTERSCRIPT
  22.  
  23. #endif
  24.  
  25. CMD:cidades(playerid, params[]){
  26.         ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "CIDADES", "{FFFFFF}Los-Santos\nLas-Venturas\nSan-Fierro\nAngel-Pine\nBayside\nForte-Carson\nLas-Barrancas\nPalomino-Creeck\nBlueberry\nMont-Gomery", "Ok", "Cancelar");
  27.         return 1;
  28.     }
  29. CMD:mluta(playerid, params[]){
  30.         ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "ESTILOS DE LUTA", "{FFFFFF}Normal\nBoxe\nKung-fu\nKnee-Head\nGrab-Kick\nElbow", "Ok", "Cancelar");
  31.         return 1;
  32.     }
  33. CMD:veiculos(playerid, params[]){
  34.         ShowPlayerDialog(playerid, VEICULOS, DIALOG_STYLE_LIST, "Veiculos-Disponiveis", "Carros\nMotos", "Selecionar", "Cancelar");
  35.         return 1;
  36.     }
  37. CMD:climas(playerid, params[]){
  38.         ShowPlayerDialog(playerid, Clima, DIALOG_STYLE_LIST, "Climas", "Noite\nDia\nTempestade\nTempestade-De-Areia\nNublado\nSol-Escaldante", "OK", "Cancelar");
  39.         return 1;
  40.     }
  41. CMD:cores(playerid, params[]){
  42.        ShowPlayerDialog(playerid, Cores, DIALOG_STYLE_LIST, "Cores De Nick", "\nBranco\nAzul\nAmarelo\nVermelho\nVerde\nRosa\nPreto\nBege\nLaranja\nVerde-Claro\nAzul-Claro", "OK", "Cancelar");
  43.        return 1;
  44.     }
  45.  
  46.  
  47. public OnFilterScriptInit()
  48. {
  49.     print("\n--------------------------------------");
  50.     print("[UnC]BILLY_THE_KID");
  51.     print("--------------------------------------\n");
  52.     return 1;
  53. }
  54.  
  55. new Veiculos1[MAX_PLAYERS];
  56. new Veiculos2[MAX_PLAYERS];
  57.  
  58. public OnPlayerExitVehicle(playerid, vehicleid)
  59. {
  60.  
  61.     DestroyVehicle(Veiculos1[playerid]);
  62.     DestroyVehicle(Veiculos2[playerid]);
  63.     //destroi o carro ao player decer do carro criado!
  64.     return 1;
  65. }
  66. //============================
  67. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
  68.   if (dialogid == 1) {
  69.     if (response) {
  70.       if (listitem == 0) {
  71.  
  72.         {
  73.  
  74.         }
  75.         if (IsPlayerInAnyVehicle(playerid)) {
  76.           new VehicleID;
  77.           VehicleID = GetPlayerVehicleID(playerid);
  78.           GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~w~Bem Vindo a Los Santos", 3000, 3);
  79.           SetVehiclePos(VehicleID, 1674.7269, -1044.1053, 23.8984);
  80.           new pname[MAX_PLAYER_NAME];
  81.           GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  82.           new string[120];
  83.           format(string, sizeof(string), " %s Foi Para LOS SANTOS Comando /Cidades ", pname);
  84.           SendClientMessageToAll(0x8080FF96, string);
  85.           SetPlayerInterior(playerid, 0);
  86.         } else {
  87.           new pname[MAX_PLAYER_NAME];
  88.           GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  89.           SetPlayerInterior(playerid, 0);
  90.           SetPlayerPos(playerid, 1674.7269, -1044.1053, 23.8984);
  91.           new string[120];
  92.           format(string, sizeof(string), " %s Foi Para LOS SANTOS Comando /Cidades ", pname);
  93.           SendClientMessageToAll(0x8080FF96, string);
  94.           PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  95.           return 1;
  96.         }
  97.       }
  98.     }
  99.     if (listitem == 1) {
  100.       {
  101.         if (IsPlayerInAnyVehicle(playerid)) {
  102.           new VehicleID;
  103.           VehicleID = GetPlayerVehicleID(playerid);
  104.           GameTextForPlayer(playerid, "~w~Bem vindo a Las Venturas!", 2673, 10);
  105.           SetVehiclePos(VehicleID, 2036.1473, 996.9255, 10.8203);
  106.           new pname[MAX_PLAYER_NAME];
  107.           GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  108.           new string[120];
  109.           format(string, sizeof(string), " %s Foi Para LAS VENTURAS COMANDO /Cidades", pname);
  110.           SendClientMessageToAll(0x8080FF96, string);
  111.           SetPlayerInterior(playerid, 0);
  112.  
  113.         } else {
  114.           new pname[MAX_PLAYER_NAME];
  115.           GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  116.           SetPlayerInterior(playerid, 0);
  117.           SetPlayerPos(playerid, 2036.1473, 996.9255, 10.8203);
  118.           new string[120];
  119.           format(string, sizeof(string), " %s Foi Para LAS VENTURAS COMANDO /Cidades", pname);
  120.           SendClientMessageToAll(0x8080FF96, string);
  121.  
  122.         }
  123.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  124.  
  125.       }
  126.  
  127.     }
  128.     if (listitem == 2) {
  129.  
  130.       {
  131.         GameTextForPlayer(playerid, "~w~Bem Vindo A San-fierro", 3000, 5);
  132.         if (IsPlayerInAnyVehicle(playerid)) {
  133.           new VehicleID;
  134.           VehicleID = GetPlayerVehicleID(playerid);
  135.           SetVehiclePos(VehicleID, -1498.4605712891, 804.00384521484, 7.1853160858154);
  136.           new pname[MAX_PLAYER_NAME];
  137.           GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  138.           new string[120];
  139.           format(string, sizeof(string), " %s Foi Para SAN-FIERRO COMANDO /Cidades", pname);
  140.           SendClientMessageToAll(0x8080FF96, string);
  141.           SetPlayerInterior(playerid, 0);
  142.  
  143.         } else {
  144.           new pname[MAX_PLAYER_NAME];
  145.           GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  146.           SetPlayerInterior(playerid, 0);
  147.           SetPlayerPos(playerid, -1498.4605712891, 804.00384521484, 7.1853160858154);
  148.           new string[120];
  149.           format(string, sizeof(string), " %s Foi Para SAN-FIERRO COMANDO /Cidades", pname);
  150.           SendClientMessageToAll(0x8080FF96, string);
  151.  
  152.         }
  153.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  154.         SetPlayerInterior(playerid, 0);
  155.  
  156.       }
  157.  
  158.     }
  159.     if (listitem == 3) {
  160.       if (IsPlayerInAnyVehicle(playerid)) {
  161.         new VehicleID;
  162.         VehicleID = GetPlayerVehicleID(playerid);
  163.         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~w~Bem Vindo a ANGEL PINE", 3000, 3);
  164.         SetVehiclePos(VehicleID, -2162.2388, -2400.7605, 29.9499);
  165.         new pname[MAX_PLAYER_NAME];
  166.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  167.         new string[120];
  168.         format(string, sizeof(string), "%s Foi para ANGEL PINE COMANDO: /Cidades", pname);
  169.         SendClientMessageToAll(0x8080FF96, string);
  170.         SetPlayerInterior(playerid, 0);
  171.       } else {
  172.         new pname[MAX_PLAYER_NAME];
  173.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  174.         SetPlayerInterior(playerid, 0);
  175.         SetPlayerPos(playerid, -2111.5029, -2367.3154, 30.4688);
  176.         new string[120];
  177.         format(string, sizeof(string), "%s Foi para ANGEL PINE /Cidades", pname);
  178.         SendClientMessageToAll(0x8080FF96, string);
  179.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  180.         SetPlayerInterior(playerid, 0);
  181.  
  182.       }
  183.  
  184.     }
  185.     if (listitem == 4) {
  186.       if (IsPlayerInAnyVehicle(playerid)) {
  187.         new VehicleID;
  188.         VehicleID = GetPlayerVehicleID(playerid);
  189.         GameTextForPlayer(playerid, "~w~Bem Vindo a BAYSIDE!!", 3000, 10);
  190.         SetVehiclePos(VehicleID, -2255.5081, 2332.1697, 4.5188);
  191.         new pname[MAX_PLAYER_NAME];
  192.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  193.         new string[120];
  194.         format(string, sizeof(string), "%s Foi Para A Cidade De BAYSIDE COMANDO: /Cidades", pname);
  195.         SendClientMessageToAll(0x8080FF96, string);
  196.         SetPlayerInterior(playerid, 0);
  197.       } else {
  198.         new pname[MAX_PLAYER_NAME];
  199.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  200.         SetPlayerInterior(playerid, 0);
  201.         SetPlayerPos(playerid, -2263.6353, 2285.1350, 4.8202);
  202.         new string[120];
  203.         format(string, sizeof(string), "%s Foi Para A Cidade De BAYSIDE COMANDO: /Cidades", pname);
  204.         SendClientMessageToAll(0x8080FF96, string);
  205.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  206.         SetPlayerInterior(playerid, 0);
  207.  
  208.       }
  209.  
  210.     }
  211.     if (listitem == 5) {
  212.       if (IsPlayerInAnyVehicle(playerid)) {
  213.         new VehicleID;
  214.         VehicleID = GetPlayerVehicleID(playerid);
  215.         GameTextForPlayer(playerid, "~w~Bem Vindo a FORTE CARSON!!", 3000, 10);
  216.         SetVehiclePos(VehicleID, -171.1771, 1097.8525, 19.1337);
  217.         new pname[MAX_PLAYER_NAME];
  218.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  219.         new string[120];
  220.         format(string, sizeof(string), "%s Foi Para FORTE CARSON COMANDO: /Cidades", pname);
  221.         SendClientMessageToAll(0x8080FF96, string);
  222.         SetPlayerInterior(playerid, 0);
  223.       } else {
  224.         new pname[MAX_PLAYER_NAME];
  225.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  226.         SetPlayerInterior(playerid, 0);
  227.         SetPlayerPos(playerid, -194.0665, 1100.7191, 19.5938);
  228.         new string[120];
  229.         format(string, sizeof(string), "%s Foi Para FORTE CARSON COMANDO: /Cidades", pname);
  230.         SendClientMessageToAll(0x8080FF96, string);
  231.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  232.         SetPlayerInterior(playerid, 0);
  233.       }
  234.  
  235.     }
  236.     if (listitem == 6) {
  237.       if (IsPlayerInAnyVehicle(playerid)) {
  238.         new VehicleID;
  239.         VehicleID = GetPlayerVehicleID(playerid);
  240.         GameTextForPlayer(playerid, "~w~Bem Vindo a las barrancas!!", 3000, 10);
  241.         SetVehiclePos(VehicleID, -807.7308, 1541.5775, 26.6671);
  242.         new pname[MAX_PLAYER_NAME];
  243.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  244.         new string[120];
  245.         format(string, sizeof(string), " %s Foi Para las barrancas COMANDO /Cidades", pname);
  246.         SendClientMessageToAll(0x8080FF96, string);
  247.         SetPlayerInterior(playerid, 0);
  248.  
  249.       } else {
  250.         new pname[MAX_PLAYER_NAME];
  251.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  252.         SetPlayerInterior(playerid, 0);
  253.         SetPlayerPos(playerid, -809.2288, 1592.6237, 26.9609);
  254.         new string[120];
  255.         format(string, sizeof(string), " %s Foi Para las barrancas COMANDO /Cidades", pname);
  256.         SendClientMessageToAll(0x8080FF96, string);
  257.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  258.         SetPlayerInterior(playerid, 0);
  259.  
  260.       }
  261.  
  262.     }
  263.     if (listitem == 7) {
  264.       GameTextForPlayer(playerid, "~w~ Bem Vindo a Palomino Creeck!", 2000, 5);
  265.       if (IsPlayerInAnyVehicle(playerid)) {
  266.         new VehicleID;
  267.         VehicleID = GetPlayerVehicleID(playerid);
  268.         SetVehiclePos(VehicleID, 2344.2783, 48.4310, 26.0428);
  269.         new pname[MAX_PLAYER_NAME];
  270.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  271.         new string[120];
  272.         format(string, sizeof(string), "   %s Foi Para PALOMINO CREECK COMANDO /Cidades", pname);
  273.         SendClientMessageToAll(0x8080FF96, string);
  274.         SetPlayerInterior(playerid, 0);
  275.  
  276.       } else {
  277.         new pname[MAX_PLAYER_NAME];
  278.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  279.         SetPlayerInterior(playerid, 0);
  280.         SetPlayerPos(playerid, 2343.4797, 86.6201, 26.3353);
  281.         new string[120];
  282.         format(string, sizeof(string), "   %s Foi Para PALOMINO CREECK COMANDO /Cidades", pname);
  283.         SendClientMessageToAll(0x8080FF96, string);
  284.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  285.         SetPlayerInterior(playerid, 0);
  286.  
  287.       }
  288.  
  289.     }
  290.     if (listitem == 8) {
  291.       GameTextForPlayer(playerid, "~w~ Bem Vindo a BLUEBERRY!", 2000, 5);
  292.       if (IsPlayerInAnyVehicle(playerid)) {
  293.         new VehicleID;
  294.         VehicleID = GetPlayerVehicleID(playerid);
  295.         SetVehiclePos(VehicleID, 66.8784, -231.1946, 1.3791);
  296.         new pname[MAX_PLAYER_NAME];
  297.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  298.         new string[120];
  299.         format(string, sizeof(string), "   %s Foi Para BLUEBERRY COMANDO /Cidades", pname);
  300.         SendClientMessageToAll(0x8080FF96, string);
  301.         SetPlayerInterior(playerid, 0);
  302.  
  303.       } else {
  304.         new pname[MAX_PLAYER_NAME];
  305.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  306.         SetPlayerInterior(playerid, 0);
  307.         SetPlayerPos(playerid, 64.1384, -248.9498, 1.5781);
  308.         new string[120];
  309.         format(string, sizeof(string), "   %s Foi Para BLUEBERRY COMANDO /Cidades", pname);
  310.         SendClientMessageToAll(0x8080FF96, string);
  311.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  312.         SetPlayerInterior(playerid, 0);
  313.  
  314.       }
  315.  
  316.     }
  317.     if (listitem == 9) {
  318.       GameTextForPlayer(playerid, "~w~ Bem Vindo a  MONT GOMERY!", 2000, 5);
  319.       if (IsPlayerInAnyVehicle(playerid)) {
  320.         new VehicleID;
  321.         VehicleID = GetPlayerVehicleID(playerid);
  322.         SetVehiclePos(VehicleID, 1307.9098, 291.2258, 19.1142);
  323.         new pname[MAX_PLAYER_NAME];
  324.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  325.         new string[120];
  326.         format(string, sizeof(string), "   %s Foi Para  MONT GOMERY COMANDO /Cidades", pname);
  327.         SendClientMessageToAll(0x8080FF96, string);
  328.         SetPlayerInterior(playerid, 0);
  329.  
  330.       } else {
  331.         new pname[MAX_PLAYER_NAME];
  332.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  333.         SetPlayerInterior(playerid, 0);
  334.         SetPlayerPos(playerid, 1317.8403, 312.5686, 19.4063);
  335.         new string[120];
  336.         format(string, sizeof(string), "   %s Foi Para  MONT GOMERY COMANDO /Cidades", pname);
  337.         SendClientMessageToAll(0x8080FF96, string);
  338.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  339.         SetPlayerInterior(playerid, 0);
  340.  
  341.       }
  342.  
  343.     } else {
  344.  
  345.     }
  346.  
  347.   }
  348.   //--mudar luta
  349.   if (dialogid == 2) {
  350.     if (response) {
  351.       if (listitem == 0) {
  352.         SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
  353.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Normal!");
  354.         new pname[MAX_PLAYER_NAME];
  355.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  356.         new string[120];
  357.         format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
  358.         SendClientMessageToAll(0x8080FF96, string);
  359.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  360.       }
  361.       if (listitem == 1) {
  362.         SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
  363.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Boxe!");
  364.         new pname[MAX_PLAYER_NAME];
  365.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  366.         new string[120];
  367.         format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
  368.         SendClientMessageToAll(0x8080FF96, string);
  369.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  370.       }
  371.       if (listitem == 2) {
  372.         SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
  373.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Kung-Fu!");
  374.         new pname[MAX_PLAYER_NAME];
  375.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  376.         new string[120];
  377.         format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
  378.         SendClientMessageToAll(0x8080FF96, string);
  379.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  380.       }
  381.       if (listitem == 3) {
  382.         SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
  383.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Kneehead!");
  384.         new pname[MAX_PLAYER_NAME];
  385.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  386.         new string[120];
  387.         format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
  388.         SendClientMessageToAll(0x8080FF96, string);
  389.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  390.       }
  391.       if (listitem == 4) {
  392.         SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
  393.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Grabkick");
  394.         new pname[MAX_PLAYER_NAME];
  395.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  396.         new string[120];
  397.         format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
  398.         SendClientMessageToAll(0x8080FF96, string);
  399.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  400.       }
  401.       if (listitem == 5) {
  402.         SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
  403.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Elbow-Cotovelo");
  404.         new pname[MAX_PLAYER_NAME];
  405.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  406.         new string[120];
  407.         format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
  408.         SendClientMessageToAll(0x8080FF96, string);
  409.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  410.       }
  411.     }
  412.   }
  413.   //======clima
  414.   if (dialogid == Clima) {
  415.     if (response) {
  416.       if (listitem == 0) {
  417.         SetPlayerWeather(playerid, 45);
  418.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Noite!");
  419.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  420.       }
  421.       if (listitem == 1) {
  422.         SetPlayerWeather(playerid, 10);
  423.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Dia!");
  424.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  425.       }
  426.       if (listitem == 2) {
  427.         SetPlayerWeather(playerid, 08);
  428.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Tempestade!");
  429.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  430.       }
  431.       if (listitem == 3) {
  432.         SetPlayerWeather(playerid, 19);
  433.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Tempestade De Areia!");
  434.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  435.       }
  436.       if (listitem == 4) {
  437.         SetPlayerWeather(playerid, 09);
  438.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Nublado!");
  439.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  440.       }
  441.       if (listitem == 5) {
  442.         SetPlayerWeather(playerid, 17);
  443.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Sol-Escaldante");
  444.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  445.       }
  446.     }
  447.   }
  448.   //======cores de nick 10 no momento
  449.   if (dialogid == Cores) {
  450.     if (response) {
  451.       if (listitem == 0) {
  452.  
  453.         SetPlayerColor(playerid, 0xFFFFFF96);
  454.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FFFFFF}Branco ");
  455.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  456.       }
  457.       if (listitem == 1) {
  458.  
  459.         SetPlayerColor(playerid, 0x0000FF96);
  460.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{0000FF}Azul");
  461.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  462.       }
  463.       if (listitem == 2) {
  464.         SetPlayerColor(playerid, 0xFFFF0096);
  465.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FFFF00}Amarelo");
  466.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  467.       }
  468.       if (listitem == 3) {
  469.         SetPlayerColor(playerid, 0xFF000096);
  470.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FF0000}Vermelho");
  471.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  472.       }
  473.       if (listitem == 4) {
  474.         SetPlayerColor(playerid, 0x00800096);
  475.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para : {008000}Verde");
  476.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  477.       }
  478.       if (listitem == 5) {
  479.         SetPlayerColor(playerid, 0xFF00FF96);
  480.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FF00FF}Rosa");
  481.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  482.       }
  483.       if (listitem == 6) {
  484.         SetPlayerColor(playerid, 0x00000096);
  485.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{000000}Preto");
  486.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  487.       }
  488.       if (listitem == 7) {
  489.         SetPlayerColor(playerid, 0x80800096);
  490.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{808000}Bege");
  491.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  492.       }
  493.       if (listitem == 8) {
  494.         SetPlayerColor(playerid, 0xFF800096);
  495.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FF8000}Laranja");
  496.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  497.       }
  498.       if (listitem == 9) {
  499.         SetPlayerColor(playerid, 0x00FF0096);
  500.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{00FF00}Verde-Claro");
  501.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  502.       }
  503.       if (listitem == 10) {
  504.         SetPlayerColor(playerid, 0x00FFFF96);
  505.         SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{00FFFF}Azul-Claro");
  506.         PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
  507.       }
  508.     }
  509.   }
  510.   //--VEICULOS----------------------------------------------------------------------
  511.   if (dialogid == VEICULOS) // Menu
  512.   {
  513.     if (response) {
  514.       if (listitem == 0) // Carros
  515.       {
  516.         ShowPlayerDialog(playerid, VEICULOS + 1, DIALOG_STYLE_LIST, "Carros", "Buffalo\nInfernus \nCheetah\nHotknife\nTurismo\nSuper-Gt \nElegy\nEsperanto\nSabre\nVoltar", "Selecionar", "Cancelar");
  517.       }
  518.       if (listitem == 1) // motos
  519.       {
  520.         ShowPlayerDialog(playerid, VEICULOS + 2, DIALOG_STYLE_LIST, "Motos", "Sanchez\nPizzaboy \nPCJ-600\nFaggio\nFreeway\nFCR-900\nNRG-500\nHPV1000\nBF-400\nWayfarer\nVoltar", "Selecionar", "Cancelar");
  521.       }
  522.     }
  523.     return 1;
  524.   }
  525.   if (dialogid == VEICULOS + 1) // Carros
  526.   {
  527.     if (response) {
  528.       if (listitem == 0) // buffalo
  529.       {
  530.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  531.         new Float: x,
  532.         Float: y,
  533.         Float: z,
  534.         Float: Angulo;
  535.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Buffalo!");
  536.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  537.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  538.         GetPlayerPos(playerid, x, y, z);
  539.         GetPlayerFacingAngle(playerid, Angulo);
  540.         Veiculos1[playerid] = CreateVehicle(402, x, y, z, Angulo, random(500), random(500), 60);
  541.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  542.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  543.         return 1;
  544.       }
  545.       if (listitem == 1) // infernus
  546.       {
  547.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  548.         new Float: x,
  549.         Float: y,
  550.         Float: z,
  551.         Float: Angulo;
  552.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Infernus!");
  553.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  554.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  555.         GetPlayerPos(playerid, x, y, z);
  556.         GetPlayerFacingAngle(playerid, Angulo);
  557.         Veiculos1[playerid] = CreateVehicle(411, x, y, z, Angulo, random(500), random(500), 60);
  558.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  559.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  560.       }
  561.       if (listitem == 2) // cheetah
  562.       {
  563.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  564.         new Float: x,
  565.         Float: y,
  566.         Float: z,
  567.         Float: Angulo;
  568.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Cheetah!");
  569.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  570.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  571.         GetPlayerPos(playerid, x, y, z);
  572.         GetPlayerFacingAngle(playerid, Angulo);
  573.         Veiculos1[playerid] = CreateVehicle(415, x, y, z, Angulo, random(500), random(500), 60);
  574.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  575.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  576.       }
  577.       if (listitem == 3) // Hotknife
  578.       {
  579.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  580.         new Float: x,
  581.         Float: y,
  582.         Float: z,
  583.         Float: Angulo;
  584.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Hotknife!");
  585.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  586.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  587.         GetPlayerPos(playerid, x, y, z);
  588.         GetPlayerFacingAngle(playerid, Angulo);
  589.         Veiculos1[playerid] = CreateVehicle(434, x, y, z, Angulo, random(500), random(500), 60);
  590.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  591.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  592.       }
  593.       if (listitem == 4) // Turismo
  594.       {
  595.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  596.         new Float: x,
  597.         Float: y,
  598.         Float: z,
  599.         Float: Angulo;
  600.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Turismo!");
  601.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  602.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  603.         GetPlayerPos(playerid, x, y, z);
  604.         GetPlayerFacingAngle(playerid, Angulo);
  605.         Veiculos1[playerid] = CreateVehicle(451, x, y, z, Angulo, random(500), random(500), 60);
  606.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  607.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  608.       }
  609.       if (listitem == 5) // super gt
  610.       {
  611.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  612.         new Float: x,
  613.         Float: y,
  614.         Float: z,
  615.         Float: Angulo;
  616.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Super GT!");
  617.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  618.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  619.         GetPlayerPos(playerid, x, y, z);
  620.         GetPlayerFacingAngle(playerid, Angulo);
  621.         Veiculos1[playerid] = CreateVehicle(506, x, y, z, Angulo, random(500), random(500), 60);
  622.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  623.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  624.       }
  625.       if (listitem == 6) // elegy
  626.       {
  627.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  628.         new Float: x,
  629.         Float: y,
  630.         Float: z,
  631.         Float: Angulo;
  632.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Elegy!");
  633.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  634.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  635.         GetPlayerPos(playerid, x, y, z);
  636.         GetPlayerFacingAngle(playerid, Angulo);
  637.         Veiculos1[playerid] = CreateVehicle(562, x, y, z, Angulo, random(500), random(500), 60);
  638.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  639.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  640.       }
  641.       if (listitem == 7) // ESPERANTO
  642.       {
  643.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  644.         new Float: x,
  645.         Float: y,
  646.         Float: z,
  647.         Float: Angulo;
  648.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Esperanto!");
  649.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  650.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  651.         GetPlayerPos(playerid, x, y, z);
  652.         GetPlayerFacingAngle(playerid, Angulo);
  653.         Veiculos1[playerid] = CreateVehicle(419, x, y, z, Angulo, random(500), random(500), 60);
  654.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  655.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  656.       }
  657.       if (listitem == 8) // SABRE
  658.       {
  659.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  660.         new Float: x,
  661.         Float: y,
  662.         Float: z,
  663.         Float: Angulo;
  664.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um SABRE!");
  665.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  666.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  667.         GetPlayerPos(playerid, x, y, z);
  668.         GetPlayerFacingAngle(playerid, Angulo);
  669.         Veiculos1[playerid] = CreateVehicle(475, x, y, z, Angulo, random(500), random(500), 60);
  670.         PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
  671.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  672.       }
  673.       if (listitem == 9) // Voltar
  674.       {
  675.         ShowPlayerDialog(playerid, VEICULOS, DIALOG_STYLE_LIST, "Veiculos", "Carros\nMotos", "Selecionar", "Cancelar");
  676.       }
  677.     }
  678.     return 1;
  679.   }
  680.   if (dialogid == VEICULOS + 2) // Motos
  681.   {
  682.     if (response) {
  683.       if (listitem == 0) //Sanchez
  684.       {
  685.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  686.         new Float: x,
  687.         Float: y,
  688.         Float: z,
  689.         Float: Angulo;
  690.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma Sanchez!");
  691.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  692.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  693.         GetPlayerPos(playerid, x, y, z);
  694.         GetPlayerFacingAngle(playerid, Angulo);
  695.         Veiculos2[playerid] = CreateVehicle(468, x, y, z, Angulo, random(500), random(500), 60);
  696.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  697.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  698.       }
  699.       if (listitem == 1) // Pizzaboy
  700.       {
  701.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  702.         new Float: x,
  703.         Float: y,
  704.         Float: z,
  705.         Float: Angulo;
  706.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma  Pizzaboy!");
  707.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  708.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  709.         GetPlayerPos(playerid, x, y, z);
  710.         GetPlayerFacingAngle(playerid, Angulo);
  711.         Veiculos2[playerid] = CreateVehicle(448, x, y, z, Angulo, random(500), random(500), 60);
  712.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  713.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  714.       }
  715.       if (listitem == 2) //PCJ-600
  716.       {
  717.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  718.         new Float: x,
  719.         Float: y,
  720.         Float: z,
  721.         Float: Angulo;
  722.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma  PCJ-600!");
  723.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  724.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  725.         GetPlayerPos(playerid, x, y, z);
  726.         GetPlayerFacingAngle(playerid, Angulo);
  727.         Veiculos2[playerid] = CreateVehicle(461, x, y, z, Angulo, random(500), random(500), 60);
  728.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  729.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  730.       }
  731.       if (listitem == 3) //Faggio
  732.       {
  733.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  734.         new Float: x,
  735.         Float: y,
  736.         Float: z,
  737.         Float: Angulo;
  738.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma  Faggio!");
  739.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  740.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  741.         GetPlayerPos(playerid, x, y, z);
  742.         GetPlayerFacingAngle(playerid, Angulo);
  743.         Veiculos2[playerid] = CreateVehicle(462, x, y, z, Angulo, random(500), random(500), 60);
  744.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  745.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  746.       }
  747.       if (listitem == 4) // Freeway
  748.       {
  749.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  750.         new Float: x,
  751.         Float: y,
  752.         Float: z,
  753.         Float: Angulo;
  754.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma   Freeway!");
  755.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  756.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  757.         GetPlayerPos(playerid, x, y, z);
  758.         GetPlayerFacingAngle(playerid, Angulo);
  759.         Veiculos2[playerid] = CreateVehicle(463, x, y, z, Angulo, random(500), random(500), 60);
  760.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  761.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  762.       }
  763.       if (listitem == 5) // FCR-900
  764.       {
  765.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  766.         new Float: x,
  767.         Float: y,
  768.         Float: z,
  769.         Float: Angulo;
  770.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma    FCR-900!");
  771.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  772.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  773.         GetPlayerPos(playerid, x, y, z);
  774.         GetPlayerFacingAngle(playerid, Angulo);
  775.         Veiculos2[playerid] = CreateVehicle(521, x, y, z, Angulo, random(500), random(500), 60);
  776.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  777.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  778.       }
  779.       if (listitem == 6) // NRG-500
  780.       {
  781.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  782.         new Float: x,
  783.         Float: y,
  784.         Float: z,
  785.         Float: Angulo;
  786.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma   NRG-500!");
  787.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  788.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  789.         GetPlayerPos(playerid, x, y, z);
  790.         GetPlayerFacingAngle(playerid, Angulo);
  791.         Veiculos2[playerid] = CreateVehicle(522, x, y, z, Angulo, random(500), random(500), 60);
  792.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  793.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  794.       }
  795.       if (listitem == 7) // HPV1000
  796.       {
  797.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  798.         new Float: x,
  799.         Float: y,
  800.         Float: z,
  801.         Float: Angulo;
  802.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma  HPV1000");
  803.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  804.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  805.         GetPlayerPos(playerid, x, y, z);
  806.         GetPlayerFacingAngle(playerid, Angulo);
  807.         Veiculos2[playerid] = CreateVehicle(523, x, y, z, Angulo, random(500), random(500), 60);
  808.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  809.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  810.       }
  811.       if (listitem == 8) //BF-400
  812.       {
  813.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  814.         new Float: x,
  815.         Float: y,
  816.         Float: z,
  817.         Float: Angulo;
  818.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma  BF-400");
  819.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  820.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  821.         GetPlayerPos(playerid, x, y, z);
  822.         GetPlayerFacingAngle(playerid, Angulo);
  823.         Veiculos2[playerid] = CreateVehicle(581, x, y, z, Angulo, random(500), random(500), 60);
  824.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  825.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  826.       }
  827.       if (listitem == 9) //Wayfarer
  828.       {
  829.         if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
  830.         new Float: x,
  831.         Float: y,
  832.         Float: z,
  833.         Float: Angulo;
  834.         SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma  Wayfarer");
  835.         SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
  836.         SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
  837.         GetPlayerPos(playerid, x, y, z);
  838.         GetPlayerFacingAngle(playerid, Angulo);
  839.         Veiculos2[playerid] = CreateVehicle(586, x, y, z, Angulo, random(500), random(500), 60);
  840.         PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
  841.         PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
  842.       }
  843.       if (listitem == 10) //voltar
  844.       {
  845.         ShowPlayerDialog(playerid, VEICULOS, DIALOG_STYLE_LIST, "Veiculos", "Carros\nMotos", "Selecionar", "Cancelar");
  846.       }
  847.     }
  848.     return 1;
  849.   }
  850.   return 0;
  851. }
  852. //==============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement