Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- TogglePlayerControllable(playerid, 1);
- new string[128];
- new playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid,playername,sizeof(playername));
- if(dialogid == 1)
- {
- if(response == 0)
- {
- SendClientMessage(playerid, TEAM_VAGOS_COLOR, "Ok, Caso queira fazer login posteriormente use /logar [senha]!");
- return 1;
- }
- if(response >= 1)
- {
- if(strlen(inputtext) == 0)
- {
- //SetPlayerCameraPos(playerid,1463.9277,-1043.5249,31.3181);
- //SetPlayerCameraLookAt(playerid,1461.7306,-1014.2181,26.6566);
- //SetPlayerPos(playerid,1424.6486,-1020.7975,23.8281);
- new loginstring[256];
- new loginname[64];
- GetPlayerName(playerid,loginname,sizeof(loginname));
- SendClientMessage(playerid, 0x00F0F0AA, "Seu nick está registrado, é só Logar");
- SendClientMessage(playerid, 0x00F0F0AA, "Caso erre a senha 5 vezes, terá o ip banido");
- format(loginstring,sizeof(loginstring),"{33CCFF}\n\n{33FF00}{f7f7f7}%s{33FF00} Bem Vindo(a)\n\n{33FF00}Sua conta está Registrada! \n\n{33FF00}Por favor logue na sua conta!!\n\n{33CCFF}",loginname);
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT,"{FFFF00}Brasil Games Living || The Return",loginstring,"Logar","Sair");
- return 1;
- }
- format(gstring,sizeof(gstring),"/logar %s",inputtext);
- OnPlayerCommandText(playerid,gstring);
- return 1;
- }
- return 1;
- }
- if(dialogid == 10101)
- {
- if(response)
- {
- new Float:X, Float:Y, Float:Z, Float:angle;
- if(strlen(inputtext) < 1 || strlen(inputtext) > 8) return SendClientMessage(playerid, 0xAFAFAFAA, "Texto Invalido.");
- else
- {
- format(string, sizeof(string), "Você mudou o texto de sua placa para '%s'.", inputtext);
- SendClientMessage(playerid, 0x33CCFFAA, string);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, angle);
- SetVehicleNumberPlate(GetPlayerVehicleID(playerid), inputtext);
- SetVehicleToRespawn(GetPlayerVehicleID(playerid));
- GetPlayerPos(playerid, X, Y, Z);
- SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), angle);
- PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), 0);
- SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z+2);
- }
- }
- return 1;
- }
- if(dialogid == 10102)
- {
- if(response)
- {
- if(listitem == 0)
- {
- OnPlayerCommandText(playerid,"/batercartao");
- TogglePlayerControllable(playerid, 1);
- }
- if(listitem == 1)
- {
- OnPlayerCommandText(playerid,"/equipar");
- TogglePlayerControllable(playerid, 1);
- }
- if(listitem == 2)
- {
- OnPlayerCommandText(playerid,"/batalha");
- TogglePlayerControllable(playerid, 1);
- }
- if(listitem == 3)
- {
- OnPlayerCommandText(playerid,"/rbatalha");
- TogglePlayerControllable(playerid, 1);
- }
- if(listitem == 4)
- {
- OnPlayerCommandText(playerid,"/procurados");
- TogglePlayerControllable(playerid, 1);
- }
- if(listitem == 5)
- {
- SetPlayerPos(playerid,788.7529,1693.6383,8.1822);
- SetPlayerInterior(playerid,0);
- TogglePlayerControllable(playerid, 1);
- }
- }
- return 1;
- }
- if(dialogid == DIALOGID2)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);
- PlayerInfo[playerid][pLuta] = 1;
- fBizzInfo[1][fbTill] += 1000;
- }
- if(listitem == 1)
- {
- SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
- PlayerInfo[playerid][pLuta] = 2;
- fBizzInfo[1][fbTill] += 1000;
- }
- if(listitem == 2)
- {
- SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
- PlayerInfo[playerid][pLuta] = 3;
- fBizzInfo[1][fbTill] += 1000;
- }
- if(listitem == 3)
- {
- SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
- PlayerInfo[playerid][pLuta] = 4;
- fBizzInfo[1][fbTill] += 1000;
- }
- if(listitem == 4)
- {
- SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
- PlayerInfo[playerid][pLuta] = 5;
- fBizzInfo[1][fbTill] += 1000;
- }
- if(listitem == 5)
- {
- SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);
- PlayerInfo[playerid][pLuta] = 6;
- fBizzInfo[1][fbTill] += 1000;
- }
- }
- return 1;
- }
- if(dialogid == DIALOGID)
- {
- if(response)
- {
- if(listitem == 0) //Pintura
- {
- ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, "Selecione a Pintura", "Pintura 1\nPintura 2\nPintura 3\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 1) //Cores
- {
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 2) //Escapamentos
- {
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 3) //Para-Choque Dianteiro
- {
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 4) //Para-Choque Traseiro
- {
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 5) //Teto Solar
- {
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 6) //Aérofólio
- {
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 7) //Saia
- {
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 8) //Bullbars
- {
- ShowPlayerDialog(playerid, DIALOGID+9, DIALOG_STYLE_LIST, "Selecione a Bullbar", "Locos Cromagem baixa Grade\nLocos Cromagem baixa Bars\nLocos Cromagem baixa Luzes\nLocos Cromagem baixa Bullbar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 9) //Rodas
- {
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 10) //Volume do rádio
- {
- ShowPlayerDialog(playerid, DIALOGID+11, DIALOG_STYLE_LIST, "Selecione o Volume do Rádio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 11) //Tunar menu do carro
- {
- ShowPlayerDialog(playerid, DIALOGID+12, DIALOG_STYLE_LIST, "Tunar carro", "Suspenção\nNitro x10\nArrumar o Carro\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 12) //Rodas 2
- {
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+1) //Pintura
- {
- if(response)
- {
- if(listitem == 0)
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560 ||
- pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 535 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 558)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehiclePaintjob(car,0);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Pintura número 1 para o carro.");
- ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, "Selecione a Pintura", "Pintura 1\nPintura 2\nPintura 3\nVoltar", "Selecionar", "Sair");
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Pintura é somente para Roda arco e tipos Loco Cromagem baixa de carros!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 1)
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560 ||
- pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 535 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 558)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehiclePaintjob(car,1);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Pintura número 2 para o carro.");
- ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, "Selecione a Pintura", "Pintura 1\nPintura 2\nPintura 3\nVoltar", "Selecionar", "Sair");
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Pintura é somente para Roda arco e tipos Loco Cromagem baixa de carros!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 2)
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560 ||
- pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 535 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 558)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehiclePaintjob(car,2);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Pintura número 3 para o carro..");
- ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, "Selecione a Pintura", "Pintura 1\nPintura 2\nPintura 3\nVoltar", "Selecionar", "Sair");
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Pintura é somente para Roda arco e tipos Loco Cromagem baixa de carros!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 3)
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+2) //Cores
- {
- if(response)
- {
- if(listitem == 0)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehicleColor(car,0,0);//Preto
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você Pintou seu carro de Preto.");
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 1)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehicleColor(car,1,1);//Branco
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você Pintou seu carro de Branco.");
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 2)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehicleColor(car,3,3);//Vermelho
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você Pintou seu carro de Vermelho.");
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 3)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehicleColor(car,79,79); //Azul
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você Pintou seu carro de Azul.");
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 4)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehicleColor(car,86,86);//Verde
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você Pintou seu carro de Verde.");
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 5)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehicleColor(car,6,6);//Amarelo
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você Pintou seu carro de Amarelo.");
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 6)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehicleColor(car,126,126);//Rosa
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você Pintou seu carro de Rosa.");
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 7)
- {
- new car = GetPlayerVehicleID(playerid);
- ChangeVehicleColor(car,66,66);//Marrom
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você Pintou seu carro de Marrom.");
- ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 8)
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+3) //Escapamentos
- {
- if(response)
- {
- if(listitem == 0)//Roda arco Carro Alien Escapamentos
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1034);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente de escape em Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1046);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente de escape em Flash.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1065);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente de escape em Jetser.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1064);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente de escape em Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1028);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente de escape em Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1089);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente de escape em Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Rodas arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 1)//Rodas arco Carros Fluxo-X Escapamentos
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1037);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente de escape em Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1045);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente de escape em Flash.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1066);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente de escape em Jester.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1059);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente de escape em Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1029);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente de escape em Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1092);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente de escape em Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Rodas arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 2)//Locos Cromagem baixa Carros Escapamento Cromado
- {
- if(pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 535)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 575)
- {
- AddVehicleComponent(car,1044);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente de escape em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1126);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente de escape em Remington.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1129);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente de escape em Savanna.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1104);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente de escape em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1113);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente de escape em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 576)
- {
- AddVehicleComponent(car,1136);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente de escape em Tornado.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para tipos Locos baixa Carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 3)//Locos Cromagem baixa Carros Slamin Escapamento
- {
- if(pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 535)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 575)
- {
- AddVehicleComponent(car,1043);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO] Você adicionou Locos Slamin baixa componente de escape em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1127);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO] Você adicionou Locos Slamin baixa componente de escape em Remingon.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1132);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO] Você adicionou Locos Slamin baixa componente de escape em Savanna.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1105);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO] Você adicionou Locos Slamin baixa componente de escape em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1114);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO] Você adicionou Locos Slamin baixa componente de escape em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 576)
- {
- AddVehicleComponent(car,1135);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO] Você adicionou Locos Slamin baixa componente de escape em Tornado.");
- ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para tipos Locos baixo do carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Selecione o Escapamento", "Roda arco Alien Escapamento\nRoda arco Fluxo-X Escapamento\nLocos Cromagem baixa Escapamento\nLocos baixa Slamin Escapamento\nVoltar", "Selecionar", "Sair");
- }
- }
- if(listitem == 4)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+4)//Pára-Choque Dianteiro
- {
- if(response)
- {
- if(listitem == 0)//Roda arco Carros Alien Pára-Choque Dianteiro
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1171);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choque dianteiro em Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1153);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choque dianteiro em Flash.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1160);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choque dianteiro em Jester.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1155);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choque dianteiro em Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1169);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choque dianteiro em Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1166);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choque dianteiro em Uraus.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERROR]: Você só pode adicionar esse componente para Roda arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 1)//Roda arco Carro Fluxo-X Pára-Choque Dianteiro
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1172);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choque dianteiro em Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1152);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choque dianteiro Flash.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1173);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choque dianteiro Jester.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1157);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choque dianteiro Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1170);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choque dianteiro Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1165);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choque dianteiro Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Roda arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 2)//Locos Cromagem baixa Carro Cromado Pára-Choque Dianteiro
- {
- if(pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 535)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 575)
- {
- AddVehicleComponent(car,1174);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choque dianteiro em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1179);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choque dianteiro em Remington.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1189);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choque dianteiro em Savanna.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1182);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choque dianteiro em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1115);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choque dianteiro em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 576)
- {
- AddVehicleComponent(car,1191);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choque dianteiro em Tornado.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para tipos Locos baixo do carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 3)//Locos Cromagem baixa Salmin Pára-Choque
- {
- if(pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 576)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 575)
- {
- AddVehicleComponent(car,1175);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choque dianteiro em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1185);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choque dianteiro em Remington.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1188);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choque dianteiro em Savanna.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1181);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choque dianteiro em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1116);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choque dianteiro em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 576)
- {
- AddVehicleComponent(car,1190);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choque dianteiro em Tornado.");
- ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Selecione o Para-Choque Dianteiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para tipos Locos baixo do carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 4)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+5)//Pára-Choque Traseiro
- {
- if(response)
- {
- if(listitem == 0)//Roda Arco Carros Alien Pára-Choque Traseiro
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1149);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choques traseiro em Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1150);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choques traseiro em Flash.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1159);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choques traseiro em Jester.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1154);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choques traseiro em Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1141);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choques traseiro em Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1168);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente pára-choques traseiro em Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Roda arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 1)//Roda arco Carros Fluxo-X Pára-Choque Traseiro
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1148);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choques traseiro em Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1151);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choques traseiro em Flash.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1161);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choques traseiro em Jester.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1156);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choques traseiro em Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1140);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choques traseiro em Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1167);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente pára-choques traseiro em Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Wheel Arch Angels tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 2)//Locos Cromagem baixa Carro Cromado Pára-Choque Traseiro
- {
- if(pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 535)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 575)
- {
- AddVehicleComponent(car,1176);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choques traseiro em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1180);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choques traseiro em Remington.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1187);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choques traseiro em Savanna.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1184);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choques traseiro em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1109);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choques traseiro em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 576)
- {
- AddVehicleComponent(car,1192);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente pára-choques traseiro em Tornado.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para tipos Locos baixo do carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 3)//Locos Cromagem baixa Carro Salmin Pára-Choque
- {
- if(pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 535)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 575)
- {
- AddVehicleComponent(car,1177);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choques traseiro em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1178);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choques traseiro em Remington.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1186);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choques traseiro em Savanna.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1183);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choques traseiro em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1110);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choques traseiro em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 576)
- {
- AddVehicleComponent(car,1193);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Slamin componente pára-choques traseiro em Tornado.");
- ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Selecione o Para-Choque Traseiro", "Roda arco Alien Para-Choque\nRoda arco Fluxo-X Para-choque\nLocos Cromagem baixa Para-Choque\nLocos baixa Slamin Para-choque\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para tipos Locos baixo do carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 4)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+6)//Teto Solar
- {
- if(response)
- {
- if(listitem == 0)//Roda arco Carro Alien Teto Solar
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1035);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco teto Alien componente no Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1054);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco teto Alien componente no Flash.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1067);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco teto Alien componente no Jester.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1055);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco teto Alien componente no Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1032);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco teto Alien componente no Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1088);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco teto Alien componente no Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Roda arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 1)//Roda arco Carro Fluxo-X Teto Solar
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1035);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco telhado Fluxo-X de ventilação componente no Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1053);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco telhado Fluxo-X de ventilação componente no Flash.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1068);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco telhado Fluxo-X de ventilação componente no Jester.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1061);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco telhado Fluxo-X de ventilação componente no Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1033);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco telhado Fluxo-X de ventilação componente no Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1091);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco telhado Fluxo-X de ventilação componente no Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Roda arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 2)//Locos Cromagem baixa Carro Hardtop Teto solar
- {
- if(pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1130);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Hardtop componente no telhado em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1128);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo Hardtop componente no telhado em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para os tipos de carro Savanna Locos baixo e Blade!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 3)//Locos Cromagem baixa Carro Softtop Teto Solar
- {
- if(pmodelid[playerid] == 567 ||
- pmodelid[playerid] == 536)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1131);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo softtop componente no telhado em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1103);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos baixo softtop componente no telhado em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, "Selecione o Teto Solar", "Roda arco Alien Teto Solar\nRoda arco Fluxo-X Teto Solar\nLocos Baixa Hardtop Teto Solar\nLocos Baixa Softtop Teto Solar\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para os tipos de carro Savanna Locos baixo e Blade!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 4)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+7)//Aérofolio
- {
- if(response)
- {
- if(listitem == 0)//Roda arco Carro Alien Aérofolio
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1147);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Aérofolio sobre Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1049);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Aérofolio sobre Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1162);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Aérofolio sobre Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1158);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Aérofolio sobre Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1138);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Aérofolio sobre Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1164);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Aérofolio sobre Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Roda arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 1)//Roda arco Carro Fluxo-X Aérofólio
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1146);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente Aérofólio sobre Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1150);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente Aérofólio sobre Flash.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1158);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente Aérofólio sobre Jester.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1060);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente Aérofólio sobre Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1139);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente Aérofólio sobre Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1163);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente Aérofólio sobre Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Selecione o Aérofólio", "Alien Aérofólio\nFluxo-X Aérofólio\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para tipos Arco Fluxo-X carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 2)//BACK
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+8)//Saia Lateral
- {
- if(response)
- {
- if(listitem == 0)//Roda arco Carros Alien Saia Lateral
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1036);
- AddVehicleComponent(car,1040);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Saias em Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1047);
- AddVehicleComponent(car,1051);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Saias Vent em Flash.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1069);
- AddVehicleComponent(car,1071);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Saias em Jester.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1056);
- AddVehicleComponent(car,1062);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Saias em Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1026);
- AddVehicleComponent(car,1027);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco saias laterais Alien componente pára-choques em Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1090);
- AddVehicleComponent(car,1094);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Alien componente Saias em Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Roda arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 1)//Roda arco Carro Fluxo-X Saias Laterais
- {
- if(pmodelid[playerid] == 562 ||
- pmodelid[playerid] == 565 ||
- pmodelid[playerid] == 559 ||
- pmodelid[playerid] == 561 ||
- pmodelid[playerid] == 560)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 562)
- {
- AddVehicleComponent(car,1039);
- AddVehicleComponent(car,1041);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Roda arco Fluxo-X componente saias laterais em Elegy.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 565)
- {
- AddVehicleComponent(car,1048);
- AddVehicleComponent(car,1052);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Wheel Arch X-Flow componente saias laterais em Flash.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 559)
- {
- AddVehicleComponent(car,1070);
- AddVehicleComponent(car,1072);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Wheel Arch X-Flow componente saias laterais em Jester.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 561)
- {
- AddVehicleComponent(car,1057);
- AddVehicleComponent(car,1063);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Wheel Arch X-Flow componente saias laterais em Stratum.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 560)
- {
- AddVehicleComponent(car,1031);
- AddVehicleComponent(car,1030);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Wheel Arch X-Flow componente saias laterais em Sultan.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 558)
- {
- AddVehicleComponent(car,1093);
- AddVehicleComponent(car,1095);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Wheel Arch X-Flow componente saias laterais em Uranus.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Roda arco tipos de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 2)//Locos Cromagem baixa Carros Cromagem Strip Saia Lateral
- {
- if(pmodelid[playerid] == 575 ||
- pmodelid[playerid] == 536 ||
- pmodelid[playerid] == 576 ||
- pmodelid[playerid] == 567)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 575)
- {
- AddVehicleComponent(car,1042);
- AddVehicleComponent(car,1099);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Side Locos Cromagem baixa Strip componente Saias em Brodway.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 567)
- {
- AddVehicleComponent(car,1102);
- AddVehicleComponent(car,1133);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Side Locos Cromagem baixa Strip componente Saias em Savanna.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 576)
- {
- AddVehicleComponent(car,1134);
- AddVehicleComponent(car,1137);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Side Locos Cromagem baixa Strip componente Saias em Tornado.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- else if(pmodelid[playerid] == 536)
- {
- AddVehicleComponent(car,1108);
- AddVehicleComponent(car,1107);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Side Locos Cromagem baixa Strip componente Saias em Blade.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para tipos Locos baixo Carro Brodway, Savanna Tornado e Blade!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 3)//Locos Cromagem baixa Carros Cromagem Flames Saia Lateral
- {
- if(pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 534)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1122);
- AddVehicleComponent(car,1101);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa Flames componente saias laterais em Remington.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Locos baixo tipo de carro Remington!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 4)//Locos Cromagem baixa Carros Cromagem Arcos Saia
- {
- if(pmodelid[playerid] == 534 ||
- pmodelid[playerid] == 534)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1106);
- AddVehicleComponent(car,1124);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Side Locos Cromagem baixa Arcos componente Saias em Remington.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Locos baixo tipo de carro Remington!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 5)//Locos Cromagem baixa Carros Cromagem Trim Saia Lateral
- {
- if(pmodelid[playerid] == 535)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1118);
- AddVehicleComponent(car,1120);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Side Locos Cromagem baixa Trim componente Saias em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Locos baixo Slamvan tipo de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 6)//Locos Cromagem baixa Carros Cromagem Wheelcovers Saia Lateral
- {
- if(pmodelid[playerid] == 535)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1119);
- AddVehicleComponent(car,1121);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente Wheelcovers em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, "Selecione a Saia", "Roda arco Alien Saia\nRoda arco Fluxo-X Saia\nLocos Cromagem baixa Tira\nLocos Cromagem baixa Chamas\nLocos Cromagem baixa arcos\nLocos Cromagem baixa Trim\nLocos baixa Roda de cobre\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Locos baixo Slamvan tipo de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 7)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+9)//Bullbars
- {
- if(response)
- {
- if(listitem == 0)//Locos Cromagem baixa Carros Cromagem Grade
- {
- if(pmodelid[playerid] == 534)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1100);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: You have succesfully added Locos Low Chrome Grill component on Remington.");
- ShowPlayerDialog(playerid, DIALOGID+9, DIALOG_STYLE_LIST, "Selecione a Bullbar", "Locos Cromagem baixa Grade\nLocos Cromagem baixa Bars\nLocos Cromagem baixa Luzes\nLocos Cromagem baixa Bullbar\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Locos baixo tipo de carro Remington!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 1)//Locos Cromagem baixa Carros Cromagem Bars
- {
- if(pmodelid[playerid] == 534)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1123);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente Bars em Remington.");
- ShowPlayerDialog(playerid, DIALOGID+9, DIALOG_STYLE_LIST, "Selecione a Bullbar", "Locos Cromagem baixa Grade\nLocos Cromagem baixa Bars\nLocos Cromagem baixa Luzes\nLocos Cromagem baixa Bullbar\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Locos baixo tipo de carro Remington!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 2)//Locos Cromagem baixa Carros Cromagem Luzes
- {
- if(pmodelid[playerid] == 534)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 534)
- {
- AddVehicleComponent(car,1125);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos componente baixa Luzes no Cromagem Remington.");
- ShowPlayerDialog(playerid, DIALOGID+9, DIALOG_STYLE_LIST, "Selecione a Bullbar", "Locos Cromagem baixa Grade\nLocos Cromagem baixa Bars\nLocos Cromagem baixa Luzes\nLocos Cromagem baixa Bullbar\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para o carro Remington!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 3)//Locos Cromagem baixa Carros Cromagem Bullbar
- {
- if(pmodelid[playerid] == 535)
- {
- new car = GetPlayerVehicleID(playerid);
- if(pmodelid[playerid] == 535)
- {
- AddVehicleComponent(car,1117);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Locos Cromagem baixa componente Luzes em Slamvan.");
- ShowPlayerDialog(playerid, DIALOGID+9, DIALOG_STYLE_LIST, "Selecione a Bullbar", "Locos Cromagem baixa Grade\nLocos Cromagem baixa Bars\nLocos Cromagem baixa Luzes\nLocos Cromagem baixa Bullbar\nVoltar", "Selecionar", "Sair");
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"[ERRO]: Você só pode adicionar esse componente para Locos baixa Slamvan tipo de carro!");
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- if(listitem == 4)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+10)//Rodas
- {
- if(response)
- {
- if(listitem == 0)//Offroad
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1025);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO] Você adicionou Offroad Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 1)//Mega
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1074);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Rodas Mega.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 2)//Wires
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1076);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Wires Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 3)//Twist
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1078);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Twist Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 4)//Groove
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1081);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Groove Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 5)//Import
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1082);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Import Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 6)//Atomic
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1085);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Atomic Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 7)//Ahab
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1096);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Ahab Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 8)//Virtual
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1097);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Virtual Rodas");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 9)//Access
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1098);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Access Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 10)//Proxima página (menu de rodas 2)
- {
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 11)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+11)//Volume do rádio
- {
- if(response)
- {
- if(listitem == 0)//Alto
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1086);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Volume Alto sistema.");
- ShowPlayerDialog(playerid, DIALOGID+11, DIALOG_STYLE_LIST, "Selecione o Volume do Rádio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 1)//Super Alto
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1086);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Volume Super Alto sistema.");
- ShowPlayerDialog(playerid, DIALOGID+11, DIALOG_STYLE_LIST, "Selecione o Volume do Rádio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 2)//Ultra Alto
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1086);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Volume Ultra Alto sistema.");
- ShowPlayerDialog(playerid, DIALOGID+11, DIALOG_STYLE_LIST, "Selecione o Volume do Rádio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 3)//King Alto
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1086);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Volume King Alto sistema.");
- ShowPlayerDialog(playerid, DIALOGID+11, DIALOG_STYLE_LIST, "Selecione o Volume do Rádio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 4)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+12)//Tunar carro 2
- {
- if(response)
- {
- if(listitem == 0)//Suspenção
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1087);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]:Você adicionou Suspenção para o carro.");
- ShowPlayerDialog(playerid, DIALOGID+12, DIALOG_STYLE_LIST, "Tunar carro", "Suspenção\nNitro x10\nArrumar o Carro\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 1)//Nitro x10
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1010);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Nitro 10x de carro.");
- ShowPlayerDialog(playerid, DIALOGID+12, DIALOG_STYLE_LIST, "Tunar carro", "Suspenção\nNitro x10\nArrumar o Carro\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 2)//Reparar carro
- {
- new car = GetPlayerVehicleID(playerid);
- RepairVehicle(car);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você tem reparado com êxito carro.");
- ShowPlayerDialog(playerid, DIALOGID+12, DIALOG_STYLE_LIST, "Tunar carro", "Suspenção\nNitro x10\nArrumar o Carro\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 3)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Tunar carro","Pintura\nCores\nEscapamentos\nPara-Choque Dianteiro\nPara-Choque Traseiro\nTeto Solar\nAérofólio\nSaias Laterais\nBullbars\nRodas\nVolume do Carro\nProxima Página", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == DIALOGID+13)//Rodas 2
- {
- if(response)
- {
- if(listitem == 0)//Trance
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1084);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Trance Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 1)//Shadow
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1073);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Shadow Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 2)//Rimshine
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1075);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Rimshine Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 3)//Classic
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1077);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Classic Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 4)//Cutter
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1079);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Cutter Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 5)//Switch
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1080);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Switch Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 6)//Dollar
- {
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1083);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Você adicionou Dollar Rodas.");
- ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair");
- }
- if(listitem == 7)//Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Página\nVoltar", "Selecionar", "Sair");
- }
- }
- }
- if(dialogid == 6622) //dialog
- {
- if(response)
- {
- if(listitem == 0)
- {
- if(PlayerInfo[playerid][pDrogas] > 4)
- {
- GetPlayerName(playerid,playername,sizeof(playername));
- format(gstring, sizeof(gstring), " Você ainda tem %d gramas de maconha, Venda tudo primeiro !", PlayerInfo[playerid][pDrogas]);
- SendClientMessage(playerid, COLOR_GREY, gstring);
- return 1;
- }
- format(gstring, sizeof(gstring), "%s Acaba de pegar Maconha na fazenda e está sendo procurado pela Polícia", playername);
- SendClientMessageToAll(GetPlayerColor(playerid), gstring);
- PlayerInfo[playerid][pDrogas] += 1000;
- SendClientMessage(playerid, COLOR_GRAD1, "Você comprou 1000 gramas de maconha por R$1,000");
- GivePlayerMoneyEx(playerid, - 1000);
- SetPlayerCriminal(playerid,255, "Trafico de Maconha");
- }
- if(listitem == 1)
- {
- if(PlayerInfo[playerid][pDrogas2] > 4)
- {
- GetPlayerName(playerid,playername,sizeof(playername));
- format(gstring, sizeof(gstring), " Você ainda tem %d gramas de cocaina, Venda tudo primeiro !", PlayerInfo[playerid][pDrogas2]);
- SendClientMessage(playerid, COLOR_GREY, gstring);
- return 1;
- }
- format(gstring, sizeof(gstring), "%s Acaba de pegar Cocaina na fazenda e está sendo procurado pela Polícia", playername);
- SendClientMessageToAll(GetPlayerColor(playerid), gstring);
- PlayerInfo[playerid][pDrogas2] += 1000;
- SendClientMessage(playerid, COLOR_GRAD1, "Você comprou 1000 gramas de cocaina por R$1,000");
- GivePlayerMoneyEx(playerid, - 1000);
- SetPlayerCriminal(playerid,255, "Trafico de Cocaina");
- }
- if(listitem == 2)
- {
- if(PlayerInfo[playerid][pDrogas3] > 4)
- {
- GetPlayerName(playerid,playername,sizeof(playername));
- format(gstring, sizeof(gstring), " Você ainda tem %d gramas de crack, Venda tudo primeiro !", PlayerInfo[playerid][pDrogas3]);
- SendClientMessage(playerid, COLOR_GREY, gstring);
- return 1;
- }
- format(gstring, sizeof(gstring), "%s Acaba de pegar Crack na fazenda e está sendo procurado pela Polícia", playername);
- SendClientMessageToAll(GetPlayerColor(playerid), gstring);
- PlayerInfo[playerid][pDrogas3] += 1000;
- SendClientMessage(playerid, COLOR_GRAD1, "Você comprou 1000 gramas de crack por R$1,000");
- GivePlayerMoneyEx(playerid, - 1000);
- SetPlayerCriminal(playerid,255, "Trafico de Crack");
- }
- }
- return 1;
- }
- /* if(dialogid == 7171) //dialog
- {
- if(response)
- {
- if(listitem == 0)
- {
- if(GetPlayerMoney(playerid) < 5000000)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem 5 milhões");
- return 1;
- }
- PlayerInfo[playerid][pOuro] += 1;
- GivePlayerMoney(playerid, - 5000000);
- TogglePlayerControllable(playerid, 1);
- }
- if(listitem == 1)
- {
- if(GetPlayerMoney(playerid) < 10000000)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem 10 milhões");
- return 1;
- }
- PlayerInfo[playerid][pOuro] += 2;
- GivePlayerMoney(playerid, - 10000000);
- TogglePlayerControllable(playerid, 1);
- }
- if(listitem == 2)
- {
- if(GetPlayerMoney(playerid) < 15000000)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem 15 milhões");
- return 1;
- }
- PlayerInfo[playerid][pOuro] += 3;
- GivePlayerMoney(playerid, - 15000000);
- TogglePlayerControllable(playerid, 1);
- }
- if(listitem == 3)
- {
- if(GetPlayerMoney(playerid) < 20000000)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem 20 milhões");
- return 1;
- }
- PlayerInfo[playerid][pOuro] += 4;
- GivePlayerMoney(playerid, - 20000000);
- TogglePlayerControllable(playerid, 1);
- }
- }
- return 1;
- }*/
- if(dialogid == dhitman) //dialog
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerSkin(playerid, 23);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COLOR_WHITE);
- }
- if(listitem == 1)
- {
- SetPlayerSkin(playerid, 285);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_PR);
- }
- if(listitem == 2)
- {
- SetPlayerSkin(playerid, 117);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_YAK);
- }
- if(listitem == 3)
- {
- SetPlayerSkin(playerid, 113);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_COSA);
- }
- if(listitem == 4)
- {
- SetPlayerSkin(playerid, 270);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_GRO);
- }
- if(listitem == 5)
- {
- SetPlayerSkin(playerid, 274);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_SAMU);
- }
- if(listitem == 6)
- {
- SetPlayerSkin(playerid, 286);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_PF);
- }
- if(listitem == 7)
- {
- SetPlayerSkin(playerid, 284);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_PM);
- }
- if(listitem == 8)
- {
- SetPlayerSkin(playerid, 287);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_EXE);
- }
- if(listitem == 9)
- {
- SetPlayerSkin(playerid, 179);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_AL);
- }
- if(listitem == 10)
- {
- SetPlayerSkin(playerid, 122);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_TAL);
- }
- if(listitem == 11)
- {
- SetPlayerSkin(playerid, 137);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COLOR_WHITE);
- }
- if(listitem == 12)
- {
- SetPlayerSkin(playerid, 109);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_VAGOS);
- }
- if(listitem == 13)
- {
- SetPlayerSkin(playerid, 115);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_AZTECAS);
- }
- if(listitem == 14)
- {
- SetPlayerSkin(playerid, 240);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_OAB);
- }
- if(listitem == 15)
- {
- SetPlayerSkin(playerid, 67);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_TCP);
- }
- if(listitem == 16)
- {
- SetPlayerSkin(playerid, 185);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_PC);
- }
- if(listitem == 17)
- {
- SetPlayerSkin(playerid, 181);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,0xF6000000);
- }
- if(listitem == 18)
- {
- SetPlayerSkin(playerid, 189);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_DET);
- }
- if(listitem == 19)
- {
- SetPlayerSkin(playerid, 163);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_PRE);
- }
- if(listitem == 20)
- {
- SetPlayerSkin(playerid, 255);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_TAXI);
- }
- if(listitem == 21)
- {
- SetPlayerSkin(playerid, 148);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_REP);
- }
- if(listitem == 22)
- {
- SetPlayerSkin(playerid, 185);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_MID);
- }
- if(listitem == 23)
- {
- SetPlayerSkin(playerid, 100);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_SONS);
- }
- if(listitem == 24)
- {
- SetPlayerSkin(playerid, 103);
- TogglePlayerControllable(playerid, 1);
- SetPlayerColor(playerid,COR_BALLAS);
- }
- }
- return 1;
- }
- if(dialogid == 5024)
- {
- if(response == 1)
- {
- OnPlayerCommandText(playerid,"/desalugarcarro");
- TogglePlayerControllable(playerid, 1);
- SendClientMessage(playerid, COLOR_GRAD1, "Veiculo desalugado");
- RemovePlayerFromVehicle(playerid);
- return 0;
- }
- else if(response == 0)
- {
- RemovePlayerFromVehicle(playerid);
- TogglePlayerControllable(playerid, 1);
- return 0;
- }
- return 0;
- }
- if(dialogid == 5025)
- {
- if(response == 1)
- {
- OnPlayerCommandText(playerid,"/desalugarheli");
- TogglePlayerControllable(playerid, 1);
- SendClientMessage(playerid, COLOR_GRAD1, "Helicoptero desalugado");
- RemovePlayerFromVehicle(playerid);
- return 0;
- }
- else if(response == 0)
- {
- RemovePlayerFromVehicle(playerid);
- TogglePlayerControllable(playerid, 1);
- return 0;
- }
- return 0;
- }
- if(dialogid == DIALOG_ALUGAR)
- {
- if(response == 1)
- {
- OnPlayerCommandText(playerid,"/alugarcarro");
- TogglePlayerControllable(playerid, 1);
- return 0;
- }
- else if(response == 0)
- {
- SendClientMessage(playerid, COLOR_GRAD1, "Você optou por não alugar");
- TogglePlayerControllable(playerid, 1);
- RemovePlayerFromVehicle(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == DIALOG_ALUGAR2)
- {
- if(response == 1)
- {
- OnPlayerCommandText(playerid,"/alugarheli");
- TogglePlayerControllable(playerid, 1);
- return 0;
- }
- else if(response == 0)
- {
- SendClientMessage(playerid, COLOR_GRAD1, "Você optou por não alugar");
- TogglePlayerControllable(playerid, 1);
- RemovePlayerFromVehicle(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 2624)
- {
- if(response == 1)
- {
- OnPlayerCommandText(playerid,"/veiculo comprar");
- TogglePlayerControllable(playerid, 1);
- return 0;
- }
- else if(response == 0)
- {
- SendClientMessage(playerid, COLOR_GREY, "Você optou por não comprar o veiculo");
- TogglePlayerControllable(playerid, 1);
- RemovePlayerFromVehicle(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 2)
- {
- if(response == 0)
- {
- SendClientMessage(playerid, TEAM_VAGOS_COLOR, "Ok, Caso queira se registrar posteriormente use /registrar [senha]!");
- return 1;
- }
- if(response >= 1)
- {
- if(strlen(inputtext) == 0)
- {
- SetPlayerCameraPos(playerid,1483.8164,-1727.4125,13.3828);
- SetPlayerCameraLookAt(playerid,1481.0267,-1772.1371,19.4570);
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Brasil Games Living || The Return", "Bem Vindo ao Brasil Games Living || The Return\nDigite sua Senha para Registrar!!!", "Registrar", "Esperar");
- return 1;
- }
- format(gstring,sizeof(gstring),"/registrar %s",inputtext);
- OnPlayerCommandText(playerid,gstring);
- return 1;
- }
- return 1;
- }
- if(dialogid == 3)
- {
- if(response == 0)
- {
- RodrigoInfo[playerid][Tels] = 0;
- return 1;
- }
- if(response >= 1)
- {
- if(listitem == 0)
- {
- if (PlayerInfo[playerid][pPhoneBook] == 1)
- {
- format(gstring,sizeof(gstring),"/ligar %d",RodrigoInfo[playerid][Tels]);
- OnPlayerCommandText(playerid,gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, " Você não tem lista telefônica !");
- return 1;
- }
- }
- if(listitem == 1)
- {
- if (PlayerInfo[playerid][pPhoneBook] == 1)
- {
- ShowPlayerDialog(playerid, 4, DIALOG_STYLE_INPUT, "Menu SMS", "Digite a Mensagem", "Enviar", "Cancelar");
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, " Você não tem uma agenda !");
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 4)
- {
- if(response == 0)
- {
- RodrigoInfo[playerid][Tels] = 0;
- return 1;
- }
- if(response >= 1)
- {
- format(gstring,sizeof(gstring),"/sms %d %s",RodrigoInfo[playerid][Tels],inputtext);
- OnPlayerCommandText(playerid,gstring);
- return 1;
- }
- return 1;
- }
- if(dialogid == 9)
- {
- if(response == 0)
- {
- PlayerInfo[playerid][pSex] = 2;
- SetPlayerSkin(playerid, 12);
- PlayerInfo[playerid][pSkin] = 12;
- SendClientMessage(playerid, TEAM_VAGOS_COLOR, "Certo, Você é uma Mulher!");
- PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
- RegistrationStep[playerid] = 0;
- TogglePlayerControllable(playerid, 0);
- TutTime[playerid] = 1;
- //ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX, "BWG", "Brasil Games Living || The Return é expecialmente criado para sua diversão\nNo Brasil Games Living || The Return existe regras deseja ve-las ?", "Sim", "Não");
- return 1;
- }
- if(response == 1)
- {
- PlayerInfo[playerid][pSex] = 1;
- SetPlayerSkin(playerid, 299);
- PlayerInfo[playerid][pSkin] = 299;
- SendClientMessage(playerid, TEAM_VAGOS_COLOR, "Certo, Você é um Homem!.");
- PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
- RegistrationStep[playerid] = 0;
- TogglePlayerControllable(playerid, 0);
- TutTime[playerid] = 1;
- //ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX, ".:: Bem Vindo ::.", "Brasil Games Living || The Return é expecialmente criado para sua diversão\nNo Brasil Game of Life existe regras deseja ve-las ?", "Sim", "Não");
- return 1;
- }
- return 1;
- }
- if(dialogid == 900)
- {
- if(response == 1)
- {
- ShowPlayerDialog(playerid, 901, DIALOG_STYLE_MSGBOX, ".:: Informações Básicas ::.", "-Nosso servidor é estilo RPG,-O que é RPG?\n\n-É um modo de jogo baseado na vida real, portanto você não poderá sair matando todo mundo.\n\nNem zuando de todos, você não fazeria isso na vida real né? ou você é louco.\n\nEntão leve nosso servidor a sério e jogue como se fosse sua segunda vida!", "Aceito", "Recuso");
- return 0;
- }
- else if(response == 0)
- {
- ClearChatbox(playerid, 100);
- PlayerPlaySound(playerid,1056, 0.0, 0.0, 0.0);
- SendClientMessage(playerid, COR_3DLABEL, "..:: Você Recusou as Regras e Foi Kickado!!! ::..");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Relogue e Termine----------------------");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Volte e Obrigado.----------------------");
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 901)
- {
- if(response == 1)
- {
- SetPlayerPos(playerid, 1558.7385,-1675.7007,16.1953);
- SetPlayerCameraPos(playerid, 1506.7966,-1645.9325,22.3203);
- SetPlayerCameraLookAt(playerid, 1537.1453,-1670.2620,12.6740);
- ShowPlayerDialog(playerid, 902, DIALOG_STYLE_MSGBOX, ".:: Regras Básicas ::.", "-Sempre respeite um admin, ele está fazendo o melhor por você.\n\n-Não abuse da boa vontade de nossos admin. Não causar terrorismo, DM, DB. Não chingue, Não abuse de BUG.\n\n-Não peça admin, e nem para que eles aumentem seus cargos.\n\n-E o principal, nunca use xiter para se beneficiar, em caso de uso de xiter será banido imediatamente.", "Aceito", "Recuso");
- return 0;
- }
- else if(response == 0)
- {
- ClearChatbox(playerid, 100);
- PlayerPlaySound(playerid,1056, 0.0, 0.0, 0.0);
- SendClientMessage(playerid, COR_3DLABEL, "..:: Você Recusou as Regras e Foi Kickado!!! ::..");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Relogue e Termine----------------------");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Volte e Obrigado.----------------------");
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 902)
- {
- if(response == 1)
- {
- SetPlayerPos(playerid, 1558.7385,-1675.7007,16.1953);
- SetPlayerCameraPos(playerid, 1506.7966,-1645.9325,22.3203);
- SetPlayerCameraLookAt(playerid, 1537.1453,-1670.2620,12.6740);
- ShowPlayerDialog(playerid, 903, DIALOG_STYLE_MSGBOX, ".:: Comando Uteis ::.", "-/relatorio - Falar com os admin, /duvida - Esclareça uma duvida, /gps - Veja onde ficar os lugares importantes.\n\n-/rg - Ver seus status, /ajuda, /meuskin - Vá até uma binco.\n\n-Digitando /ajuda você todos esses comandos e mais alguns que você utilizará.\n\n-Durante seu jogo, no /ajuda tem vários outros comandos que podem te ajudar.", "Aceito", "Recuso");
- return 0;
- }
- else if(response == 0)
- {
- ClearChatbox(playerid, 100);
- PlayerPlaySound(playerid,1056, 0.0, 0.0, 0.0);
- SendClientMessage(playerid, COR_3DLABEL, "..:: Você Recusou as Regras e Foi Kickado!!! ::..");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Relogue e Termine----------------------");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Volte e Obrigado.----------------------");
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 903)
- {
- if(response == 1)
- {
- SetPlayerPos(playerid, 1558.7385,-1675.7007,16.1953);
- SetPlayerCameraPos(playerid, 1506.7966,-1645.9325,22.3203);
- SetPlayerCameraLookAt(playerid, 1537.1453,-1670.2620,12.6740);
- ShowPlayerDialog(playerid, 904, DIALOG_STYLE_MSGBOX, ".:: Contas VIP/VIP Premium ::.", "-Temos Contas VIP/VIP Premium a partir de R$ 5,00.\n\n-A conta VIP custa R$ 5,00 e a conta VIP Premium custa R$ 10,00.\n\n-Se tornando VIP/VIP Premium você terá mais benefícios que players normais.\n\n\n-Para ser VIP/VIP Premium visite nosso /forum e veja ~> Contas VIP's & Socios.", "Aceito", "Recuso");
- return 0;
- }
- else if(response == 0)
- {
- ClearChatbox(playerid, 100);
- PlayerPlaySound(playerid,1056, 0.0, 0.0, 0.0);
- SendClientMessage(playerid, COR_3DLABEL, "..:: Você Recusou as Regras e Foi Kickado!!! ::..");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Relogue e Termine----------------------");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Volte e Obrigado.----------------------");
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 904)
- {
- if(response == 1)
- {
- TogglePlayerControllable(playerid, 1);
- ClearChatbox(playerid, 100);
- TutTime[playerid] = 0; PlayerInfo[playerid][pTut] = 1;
- gNews[playerid] = 0; gFam[playerid] = 0;
- TogglePlayerControllable(playerid, 1);
- SetPlayerVirtualWorld(playerid,0);
- MedicBill[playerid] = 0;
- SetPlayerSpawn(playerid);
- SetCameraBehindPlayer(playerid);
- PlayerInfo[playerid][pConta] = 10000;
- PlayerInfo[playerid][pCreditos] += 20;
- PlayerInfo[playerid][pLevel] = 3;
- PlayerPlayMusic(playerid);
- RegistrationStep[playerid] = 2;
- ResetPlayerMoneyEx(playerid);
- GivePlayerMoneyEx(playerid, 500000);
- //GameTextForPlayer(i, "~w~Chame Um Admin Para Te Ajudar ~n~~b~ /relatorio ", 3000, 3);
- SendClientMessage(playerid, COLOR_GREEN, "Bem Vindo ao Brasil Games Living || The Return || V 1.1");
- SendClientMessage(playerid, COLOR_AZULBB, "Agradecemos a sua preferência, volte sempre");
- //PlayerInfo[playerid][pVIP] = 1;
- return 0;
- }
- else if(response == 0)
- {
- ClearChatbox(playerid, 100);
- PlayerPlaySound(playerid,1056, 0.0, 0.0, 0.0);
- SendClientMessage(playerid, COR_3DLABEL, "..:: Você Recusou as Regras e Foi Kickado!!! ::..");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Relogue e Termine----------------------");
- SendClientMessage(playerid, COR_3DLABEL, "-------------------Volte e Obrigado.----------------------");
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 10)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Player ______________|");
- SendClientMessage(playerid, COLOR_WHITE,"Digite o comando desejado para mais informações!");
- SendClientMessage(playerid, COLOR_GRAD1,"BGL > /logar /rg /forum /relatorio /duvida /comprarnivel /organizacoes(/orgs) /carteira");
- SendClientMessage(playerid, COLOR_GRAD2,"BGL > /meuskin /pagar /horas /gps /mostrarlicencas /loteria /setint /empregos /orelhao");
- SendClientMessage(playerid, COLOR_GRAD2,"BGL > /trancar /mudarlocal /minhaslicencas /comprararma /beber /caridade /desligarorelhao");
- SendClientMessage(playerid, COLOR_GRAD2,"BGL > /abastecer /contrato /aceitar /cancelar /ejetar /servico /localizar /alugarcarro");
- SendClientMessage(playerid, COLOR_GRAD3,"BGL > (/g)ritar (/s)usurro (/an)uncio /eu /alugarheli /alugarquarto /desalugar");
- SendClientMessage(playerid, COLOR_GRAD4,"BGL > /saldo /sacar /depositar /transferir ");
- SendClientMessage(playerid, COLOR_GREEN,"______________________________________");
- }
- if(listitem == 1)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Empresa ______________|");
- SendClientMessage(playerid, COLOR_WHITE,"Digite o comando desejado para mais informações!");
- SendClientMessage(playerid, COLOR_GRAD3,"BGL > /ajudaempresa (/entradaemp)resa (/nomeemp)resa /extorcao /infoempresa");
- SendClientMessage(playerid, COLOR_GRAD4,"BGL > /entrar /sair /chave /venderemp (/depositaremp)resa /sacarempresa");
- SendClientMessage(playerid, COLOR_GREEN,"______________Empresas Frees_________________________");
- SendClientMessage(playerid, COLOR_GRAD4,"BGL > /infofree /sacarempresafree /venderfree ");
- }
- if(listitem == 2)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Casa ______________|");
- SendClientMessage(playerid, COLOR_WHITE,"Digite o comando desejado para mais informações!");
- SendClientMessage(playerid, COLOR_GRAD3,"BGL > /entrar /sair /chave /vida /moveis(/mv) /mapacasa(Mostra No Mapa)");
- SendClientMessage(playerid, COLOR_GRAD3,"BGL > /comprarcarro /pintarcarro /despejartodos /mudarcasa(1 a 10)");
- SendClientMessage(playerid, COLOR_GRAD3,"BSL > /aluguel /despejar /cofrecasa /trancar(carro da casa) /alugada");
- }
- if(listitem == 3)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Aluguel ______________|");
- SendClientMessage(playerid, COLOR_GRAD3,"Aluguel > /desalugar /entrar /sair /trancar /mapacasa");
- }
- if(listitem == 4)
- {
- if (PlayerInfo[playerid][pPnumber] > 0)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Celular ______________|");
- SendClientMessage(playerid, COLOR_WHITE,"Digite o comando desejado para mais informações!");
- SendClientMessage(playerid, COLOR_GRAD3,"BGL > /ligar /sms (/at)ender (/des)ligar /agenda /desativar celular");
- SendClientMessage(playerid, COLOR_WHITE,"BGL > Não se esqueça de comprar créditos na 24-7!");
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY,"Você não tem um telefone, compre um na 24-7, USE: /gps");
- }
- }
- if(listitem == 5)
- {
- if (PlayerInfo[playerid][pLider] >= 1)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Lider ______________|");
- SendClientMessage(playerid, COLOR_WHITE,"Digite o comando desejado para mais informações!");
- SendClientMessage(playerid, COLOR_GRAD3,"BGL > /convidar /demitir /limparvaga /promover /contaslider(Pedir Contas)");
- if(PlayerInfo[playerid][pLider] == 7)
- {
- SendClientMessage(playerid, COLOR_GRAD3,"Prefeito > (/pre)feito /setartaxa /dartaxa (Dá algum dinheiro para os Policiais)");
- }
- SendClientMessage(playerid, COLOR_DBLUE,"____________________________________________");
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, " Você não é um Líder!");
- }
- }
- if(listitem == 6)
- {
- SendClientMessage(playerid,COLOR_WHITE, "|______________ Ajuda Emprego ______________|");
- if(PlayerInfo[playerid][pEmprego] == 1)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BGL > Detetive < /procurar /procuraroff");
- }
- if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BGL > Advogado < /soltar /pp(Portão Presos - DP) /autorizacao(Icone Na DP)");
- }
- if(PlayerInfo[playerid][pEmprego] == 3)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BGL > Prof. do Sexo < /transar");
- }
- else if(PlayerInfo[playerid][pEmprego] == 4)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BGL > Vendedor de Drogas < /sistemadedrogas");
- }
- else if(PlayerInfo[playerid][pEmprego] == 5)
- {
- SendClientMessage(playerid,COLOR_LIGHTBLUE,"BGL > Mecânicos < /guinchar /reparar /abastecercarro /batercartao");
- }
- else if(PlayerInfo[playerid][pEmprego] == 6)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BSL > Segurança < /proteger");
- }
- else if(PlayerInfo[playerid][pEmprego] == 7)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BGL > Vendedor de Armas < /materiais(Casarão e Estação) /venderarma");
- }
- else if(PlayerInfo[playerid][pEmprego] == 8)
- {
- SendClientMessage(playerid,COLOR_GREEN,"BGL > Lutador de Boxe < /lutar /statusluta");
- }
- else if(PlayerInfo[playerid][pEmprego] == 9)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BGL > Motorista de Ônibus < /corrida Entrar e Sair do Trabalho! /cancelar onibus(Cancelar a Corrida) /terminais");
- }
- else if(PlayerInfo[playerid][pEmprego] == 10)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BGL > Mendigo < /esmola /pbarraca(por barraca) /rbarraca(retirar barraca)");
- }
- else if(PlayerInfo[playerid][pEmprego] == 11)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"BGL > Caminhoneiro < /mercadorials /mercadoriasf /mercadorialv");
- }
- if(PlayerInfo[playerid][pLFamilia] == 2)
- {
- SendClientMessage(playerid,0x33FF00FF,"Familia Freeze > /convidarf2 /demitirf2");
- }
- if(PlayerInfo[playerid][pFamilia] == 1)
- {
- SendClientMessage(playerid,0x33FF00FF,"Familia > /cf(Chat da familia) /nascerowner (Nascer hq OwNer) ");
- }
- if(PlayerInfo[playerid][pFamilia] == 2)
- {
- SendClientMessage(playerid,0x33FF00FF,"Familia > /pfreeze (Portão) /cf(Chat Familia) /nascerfreeze (Nascer HQ) ");
- }
- if(PlayerInfo[playerid][pFamilia] == 3)
- {
- SendClientMessage(playerid,0x33FF00FF,"Familia > /pxavier (Portão 1 e 2) /cf[Chat familia] /nascerxavier (Nascer HQ) ");
- }
- if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Comandos > (/r)adio (/d)epartmento (/m)egafone (/su)speito /ficha /prender /batercartao /procurados /algemar /imo /reforco");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Comandos > /revistar /retirar /prender (/gov)erno /arrombar (/do)minar /desalgemar /arrombar /bafometro /multar /infoorg /ronda");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Portões > /pe - P Estacionamento | /pg - P Garagem | /pr - P Recepção | /pp - P Presos | /pv - P Vestiário");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Barreira > /br - Criar Barreira | /rbr - Retirar Barreira | /rbrall - Retirar Todas As Barreiras");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Bloqueio > /bq - Criar Bloqueio | /rbq - Retirar Bloqueio | /rbqall - Retirar Todas Os Bloqueios");
- }
- if(PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Governo: /equipargov (/r)adio - (/d)epartamento - (/m)egafone - /algemar - /imo - /infoorg");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Governo: /revistar - /retirar - /pp - /pgov - Portão dos Carros - /ppre - Porta Prefeitura");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Prefeito: (/pre)feito /dartaxa(Para os Policias) /setartaxa(Taxa Por Pessoa)");
- }
- if(PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Taxistas: /corrida Entrar e Sair do Trabalho! /cancelar onibus(Cancelar a Corrida) /antaxi");
- }
- if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Comandos > (/r)adio (/d)epartmento (/m)egafone (/su)speito /ficha /detento /batercartao /procurados /algemar /imo /reforco /infoorg");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Comandos > /revistar /retirar /prender (/gov)erno /camera /arrombar (/do)minar /desalgemar /arrombar /bafometro /multar");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Portões > /pf - Portao Federal | /pb2 - Garagem1 | /pb3 - Garagem2");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Barreira > /br - Criar Barreira | /rbr - Retirar Barreira | /rbrall - Retirar Todas As Barreiras");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Bloqueio > /bq - Criar Bloqueio | /rbq - Retirar Bloqueio | /rbqall - Retirar Todas Os Bloqueios");
- }
- if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Exército > (/r)adio (/d)epartmento (/m)egafone (/su)speito /ficha /prender /batercartao /infoorg");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Exército > /revistar /retirar (/gov)erno /camera /arrombar /algemar /imo /br /rb /multar /procurados");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Exército > /abrirgn - Portão Principal /equipar /algemar /desalgemar /reforco /bafometro");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Exército > /guerra /pontos(ver pontuação da guerra) /tirarbombas - Bloqueia os Homens Bombas");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Barreira > /br - Criar Barreira | /rbr - Retirar Barreira | /rbrall - Retirar Todas As Barreiras");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Bloqueio > /bq - Criar Bloqueio | /rbq - Retirar Bloqueio | /rbqall - Retirar Todas Os Bloqueios");
- }
- if (PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Médicos > | (/r)adio | (/d)epartamento | /vida | /batercartao | /infoorg | (/gov)erno");
- }
- if (PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Groove Street > | (/ga)ng | /sequestrar & /desamarrar | /do(minar) | /assaltar | /infoorg | /roubar | (/ang)ang");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Groove Street > | /brgangue | /rbrgang");
- }
- if (PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Terroristas < /comprarbomba - Loja de Armas | /plantarbomba - Atentados | /detonarbomba - explode a bomba");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Terroristas < /equipar /homembomba /carrobomba /tal");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Terroristas < (/ga)ngue /guerra /pontos(ver pontuação da guerra) /infoorg");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Terroristas < /sequestrar e /desamarrar - Fazer um sequestro");
- }
- if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Terroristas < /comprarbomba - Loja de Armas | /plantarbomba - Atentados | /detonarbomba - explode a bomba");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Terroristas < /equipar /homembomba /carrobomba /alq");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BSL > Terroristas < (/ga)ngue /guerra /pontos(ver pontuação da guerra) /infoorg");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Terroristas < /sequestrar e /desamarrar - Fazer um sequestro");
- }
- if (PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Comandos > (/r)adio (/d)epartmento (/m)egafone (/su)speito /ficha /prender /batercartao /procurados /algemar /imo /infoorg");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Comandos > /revistar /retirar /prender (/gov)erno /deliver /camera /arrombar /desalgemar /bafometro /reforco /multar /ronda");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Portões > /ppc(Portão PC) | DP > /pv - Vestiário(DP) | /pr | /pp - Portao DP");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Barreira > /br - Criar Barreira | /rbr - Retirar Barreira | /rbrall - Retirar Todas As Barreiras");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Bloqueio > /bq - Criar Bloqueio | /rbq - Retirar Bloqueio | /rbqall - Retirar Todas Os Bloqueios");
- }
- if (PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12 || PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Máfias < /(ga)ngue /mafia /mafiavarma /mafiavkit /amarrar /desamarrarm /infoorg /anmafia");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "BGL > Máfias < Para pegar ou esconder materiais va a HQ ou um territorio");
- }
- if (PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Loz Aztecas > | (/ga)ng | /sequestrar & /desamarrar | /do(minar) | /assaltar | /infoorg | /roubar | (/ang)ang");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Loz Aztecas > | /brgangue | /rbrgang");
- }
- if (PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Hitmans > /laptop - Computador Hitman | /arrombar(Porta das Casas) | /anhitmans");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comandos > /ga - Chat Hitmans | /infoorg");
- }
- if (PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Ballas > | (/ga)ng | /sequestrar & /desamarrar | /do(minar) | /assaltar | /infoorg | /roubar | (/ang)ang");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Ballas > | /brgangue | /rbrgang");
- }
- if (PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Los Vagos > | (/ga)ng | /sequestrar & /desamarrar | /do(minar) | /assaltar | /infoorg | /roubar | (/ang)ang");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Los Vagos > | /brgangue | /rbrgang");
- }
- if (PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Repórter > | /noticias | /aovivo | (/preporter & /preporter2 = Portões) |");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comandos > | (/ga)ngue) | /live | /noticias [texto] | /infoorg");
- }
- if (PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Policia Federal > (/m)egafone /equipar /batercartao /procurados /presos /reforco /multar /infoorg");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comandos > (/su)spect /limpar /revistar /r(adio) /d(epartamento) /do(minar) /arrombar /bafometro");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Portões > /pb - Portão HQ | Portôes DP LS(/pr /pp /pv /pe /pg)");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Barreira > /br - Criar Barreira | /rbr - Retirar Barreira | /rbrall - Retirar Todas As Barreiras");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Bloqueio > /bq - Criar Bloqueio | /rbq - Retirar Bloqueio | /rbqall - Retirar Todas Os Bloqueios");
- }
- if (PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comando Vermelho > | (/ga)ng | /sequestrar & /desamarrar | /do(minar) | /assaltar | /infoorg | /roubar | (/ang)ang");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comando Vermelho > | /brgangue | /rbrgang");
- }
- if (PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"PCC > | (/ga)ng | /sequestrar & /desamarrar | /do(minar) | /assaltar | /infoorg | /roubar | (/ang)ang");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"PCC > | /brgangue | /rbrgang");
- }
- if (PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Midnight Club > | (/ga)ng | /sequestrar & /desamarrar | /assaltar | /infoorg | /roubar | (/anmid)");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Midnight Club > | /cirarcorrida | /ircorrida | /destruircorrida");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Midnight Club > | /brmid 1 | /brmid 2 | /brmid 3 /rbrmid 1 | /rbrmid 2 | /rbrmid 3");
- }
- if (PlayerInfo[playerid][pMembro] == 22 || PlayerInfo[playerid][pLider] == 22)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Sons Of Anarchy > | (/ga)ng | /sequestrar & /desamarrar | /assaltar | /infoorg | /roubar | (/ansons)");
- }
- if (PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"D.E.T.R.A.N > | (/r)adio | (/d)partamento | /multar | (/su)speito | (/andetran)anuncio | /rebocar | /br | /bafometro");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"D.E.T.R.A.N > | /reforco | /pregos | /pdetran,/pdetran2(portão) | /entrarservico | /retirar /edetran(elevador) | (/m)egafone | /bq");
- }
- if (PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Advogados > | (/r)adio | (/d)partamento | /soltar /presos /anoab(anuncio)");
- }
- if (PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"PCC > | (/ga)ng | /sequestrar & /desamarrar | /do(minar) | /assaltar | /infoorg | /roubar | (/ang)ang");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"PCC > | /brgangue | /rbrgang");
- }
- }
- if(listitem == 7)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Pesca ______________|");
- SendClientMessage(playerid, COLOR_GRAD3,"Pescaria > /pescar (Tente pegar um peixe) /peixes (Mostrar os peixes que você pegou)");
- SendClientMessage(playerid, COLOR_GRAD3,"Pescaria > /soltarultimo(Jogue o último peixe Você pegou de volta) /soltartodos(jogue todos seus peixes de volta)");
- SendClientMessage(playerid, COLOR_GRAD3,"Pescaria > /soltarpeixe (Liberação de uma de suas barbatanas) /vender(+ de 20 LBs | 24-7) /comer(Casas de Comida)");
- }
- if(listitem == 8)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda IRC ______________|");
- SendClientMessage(playerid, COLOR_WHITE,"Chat IRC > (/irc entrar [nº canal] ou /irc entrar [nº canal] [Senha]) (/irc sair)");
- SendClientMessage(playerid, COLOR_WHITE,"Chat IRC > (/irc senha [nº canal]) (/irc needpass [nº canal]) (/irc trancar [nº canal])");
- SendClientMessage(playerid, COLOR_WHITE,"Chat IRC > (/irc Admins) (/irc MOTD [motdtext]) (/irc status [nº canal]) (/i [texto])");
- }
- if(listitem == 9)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Cozinha ______________|");
- SendClientMessage(playerid, COLOR_GRAD3,"Cozinha > /cozinhar (Mostra as opcoes disponiveis) /cozido (Mostra o que ja foi cozinhado)");
- SendClientMessage(playerid, COLOR_GRAD3,"Cozinha > /comer (Come o que ja foi cozinhado)");
- }
- if(listitem == 10)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Casamento ______________|");
- SendClientMessage(playerid, COLOR_LIGHTRED,"/padrinho (cada 1 tem que ter 1 padrinho!)");
- SendClientMessage(playerid, COLOR_LIGHTRED,"/casar (quem pedir tem que ter 1 casa!)");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Não sabe o local? digite /gps - Igreja");
- SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Separação(Digite: /separacao)");
- }
- if(listitem == 11)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Forum do Server ______________|");
- SendClientMessage(playerid, COLOR_YELLOW,"www.bgl.vai.la");
- SendClientMessage(playerid, COLOR_YELLOW,"Se cadastre e veja as contas VIP's.");
- }
- if(listitem == 12)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Créditos ______________|");
- SendClientMessage(playerid, COLOR_YELLOW, "GameMode GodFather, criado por: Denver.");
- SendClientMessage(playerid, COLOR_YELLOW, "Maior Parte do GM Editado por : Jonas_OwNeR");
- SendClientMessage(playerid, COLOR_YELLOW, "Editado por: Maniaco_Albrecht para o servidor BGL.");
- }
- if(listitem == 13)
- {
- if (PlayerInfo[playerid][pVIP] >= 1)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda VIPs e Premiuns ______________|");
- SendClientMessage(playerid, 0xCDB38BAA, "-> /kitvip /mala /desativar celular /v(chat) /relatorio(cor destacada)");
- SendClientMessage(playerid, COLOR_GRAD1, "-> Carros VIPS: /veiculo ajuda");
- SendClientMessage(playerid, COLOR_GRAD1, "-> Casas VIPS: /ajudacasa");
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD1, "Você não é um jogador VIP/VIP Premium");
- }
- }
- if(listitem == 14)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Seja VIP ______________|");
- SendClientMessage(playerid, COLOR_YELLOW,"/forum - Para virar VIP acesse nosso forum");
- SendClientMessage(playerid, COLOR_YELLOW,"Chamando 8 você ganhara VIP , Chamando 10 Ganhara VIP/PREMIUK!");
- SendClientMessage(playerid, COLOR_YELLOW,"Veja com um ADM online!");
- SendClientMessage(playerid, COLOR_LIGHTRED,"Acesse www.bgl.vai.la");
- }
- if(listitem == 15)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Seja Sócio ______________|");
- SendClientMessage(playerid, COLOR_YELLOW,"Chamando 15 Players , você podera ganhar Socio Gratis .");
- SendClientMessage(playerid, COLOR_LIGHTRED,"Duvidas,acesse www.bgl.vai.la");
- }
- if(listitem == 15)
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Comandos Sócio ______________|");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Sócio > /kitsocio(equipamento) | /jetpack(mochila ajato) | /so(chat dos sócios)");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Orgs >/orgpm(Policia Militar) | /orgrota(ROTA) | /orggn(Exercito) | /orgpc(Policia Civil) | /orgtcp(Terceiro Comando Puro)");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Orgs >/orgaztec(Los Aztecas) | /orghamas(Hamas) | /orghitman(Assassinos) | /orgreporter(Reportagem)");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Orgs >/orgtaxista(Taxistas) | /orgcosa(Cosa Nostra) | /orgyakuza(Yakuza) | /orgpf(Policia Federal)");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Orgs >/orggroove(Groove StreeT) | /orgalqaeda(Al'qaeda) | /orgballas(Ballas) | /orgvagos(Los Vagos) | /orgoab(Ordem dos Advogados do Brasil)");
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Orgs >/orgcv(Comando Vermelho) | /orgpcc(PCC) | /orgmid(Midnight) | /orgsons(Sons Of Anarchy) | /orgdetran(D.E.T.R.A.N)");
- }
- }
- return 1;
- }
- if(dialogid == 5)
- {
- if(response == 0)
- {
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(response >= 1)
- {
- if(listitem == 0)
- {
- OnPlayerCommandText(playerid,"/comprar 1");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 1)
- {
- OnPlayerCommandText(playerid,"/comprar 2");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 2)
- {
- OnPlayerCommandText(playerid,"/comprar 3");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 3)
- {
- OnPlayerCommandText(playerid,"/comprar 4");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 4)
- {
- OnPlayerCommandText(playerid,"/comprar 5");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 5)
- {
- OnPlayerCommandText(playerid,"/comprar 6");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 6)
- {
- OnPlayerCommandText(playerid,"/comprar 7");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 7)
- {
- OnPlayerCommandText(playerid,"/comprar 8");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 8)
- {
- OnPlayerCommandText(playerid,"/comprar 9");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 9)
- {
- OnPlayerCommandText(playerid,"/comprar 10");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 10)
- {
- OnPlayerCommandText(playerid,"/comprar 11");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 11)
- {
- OnPlayerCommandText(playerid,"/comprar 12");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 12)
- {
- OnPlayerCommandText(playerid,"/comprar 13");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- if(listitem == 13)
- {
- OnPlayerCommandText(playerid,"/comprar 14");
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- RodrigoInfo[playerid][PpLoja2472] = 0;
- return 1;
- }
- }
- if(dialogid == 6)
- {
- if(response == 0)
- {
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- return 1;
- }
- if(response == 1)
- {
- if(listitem == 0)
- {
- ShowPlayerDialog(playerid, 8, DIALOG_STYLE_LIST, "Escolha seu KitVip", "Kit Vip Normal\nKit Vip Premium", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 1)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "eagle", 0, strlen("eagle"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 2)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "mp5", 0, strlen("mp5"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 3)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "shotgun", 0, strlen("shotgun"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 4)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "ak47", 0, strlen("ak47"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 5)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "m4", 0, strlen("m4"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 6)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "rifle", 0, strlen("rifle"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 7)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "parachute", 0, strlen("parachute"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 8)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "golfclub", 0, strlen("golfclub"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 9)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "nightstick", 0, strlen("nightstick"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 10)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "baseballbat", 0, strlen("baseballbat"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 11)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "shovel", 0, strlen("shovel"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 12)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "poolcue", 0, strlen("poolcue"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 13)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "purpledildo", 0, strlen("purpledildo"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 14)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "whitedildo", 0, strlen("whitedildo"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 15)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "longwhitedildo", 0, strlen("longwhitedildo"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 16)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "whitedildo2", 0, strlen("whitedildo2"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 17)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "flowers", 0, strlen("flowers"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 18)
- {
- strmid(RodrigoInfo[playerid][ArmaLoja], "cane", 0, strlen("cane"), 255);
- ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "Escolha a quantidade de Munição", "Digite a quantidade de Munição que você deseja!", "Confirmar", "Cancelar");
- return 1;
- }
- if(listitem == 19)
- {
- ShowPlayerDialog(playerid, 2499, DIALOG_STYLE_INPUT, "Escolha", "Digite a quantidade de Proteção do seu Colete", "Confirmar", "Cancelar");
- return 1;
- }
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- return 1;
- }
- return 1;
- }
- if(dialogid == 7)
- {
- if(response == 0)
- {
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- if(response == 1)
- {
- format(gstring,sizeof(gstring),"/comprararma %s %d",RodrigoInfo[playerid][ArmaLoja],strval(inputtext));
- OnPlayerCommandText(playerid,gstring);
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- if(dialogid == 2499)
- {
- if(response == 0)
- {
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- if(response == 1)
- {
- if(strlen(inputtext) < 1 || strlen(inputtext) > 100) return SendClientMessage(playerid, 0xAFAFAFAA, "Texto Invalido.");
- {
- //SetPlayerArmour(playerid, strval(inputtext));
- //GivePlayerMoneyEx(playerid, - strval(inputtext));
- SendClientMessage(playerid, 0xAFAFAFAA, "Comando Desativado no momento");
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- }
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- if(dialogid == 8)
- {
- if(response == 0)
- {
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- return 1;
- }
- if(response == 1)
- {
- if(listitem == 0)
- {
- OnPlayerCommandText(playerid,"/kitvip");
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- if(listitem == 1)
- {
- OnPlayerCommandText(playerid,"/kitpremium");
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- if(listitem == 2)
- {
- OnPlayerCommandText(playerid,"/kitvip");
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- return 1;
- }
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][ArmaLoja] = 0;
- return 1;
- }
- //INICIO SISTEMA DE BANCO
- if(dialogid == 1122) //deposito
- {
- if(!response) return ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nSacar\nSaldo\nTransferir","Ok","Cancelar");
- else if(strval(inputtext) > GetPlayerMoney(playerid)) return SendClientMessage(playerid,COLOR_GREY,"Você não possui esta quantia!");
- else if(!IsNumero(inputtext))
- {
- format(gstring,sizeof(gstring),"Seu Saldo atual é: R$[%d]\nDigite a quantidade que deseja depositar abaixo .",PlayerInfo[playerid][pConta]);
- ShowPlayerDialog(playerid,1122,DIALOG_STYLE_INPUT,"Depositar",gstring,"Depositar","Sair");
- SendClientMessage(playerid,COLOR_GREY,"Digite apenas números !");
- }
- else
- {
- GivePlayerMoney(playerid,-strval(inputtext));
- PlayerInfo[playerid][pConta] += strval(inputtext);
- format(gstring,sizeof(gstring),"Você depositou: R$[%d], Seu novo saldo é: R$[%d]",strval(inputtext), PlayerInfo[playerid][pConta]);
- SendClientMessage(playerid,COLOR_YELLOW,gstring);
- ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nSacar\nSaldo\nTransferir","Ok","Cancelar");
- }
- return 1;
- }
- if(dialogid == 1123) //saque
- {
- if(!response) return ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nSacar\nSaldo\nTransferir","Ok","Cancelar");
- else if(strval(inputtext) > PlayerInfo[playerid][pConta]) return SendClientMessage(playerid,COLOR_GREY,"Você não tem isso tudo na sua conta !");
- else if(!IsNumero(inputtext))
- {
- format(gstring,sizeof(gstring),"Seu Saldo atual é: [%d]\nColoque a quantidade que deseja sacar agora.",PlayerInfo[playerid][pConta]);
- ShowPlayerDialog(playerid,1123,DIALOG_STYLE_INPUT,"Sacar",gstring,"Sacar","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Digite apenas números!");
- }
- else
- {
- GivePlayerMoney(playerid,strval(inputtext));
- PlayerInfo[playerid][pConta] -= strval(inputtext);
- format(gstring,sizeof(gstring),"Você sacou: R$[%d]",strval(inputtext));
- SendClientMessage(playerid,COLOR_YELLOW,gstring);
- format(gstring,128,"Seu novo saldo é: R$[%d]",PlayerInfo[playerid][pConta]);
- SendClientMessage(playerid,COLOR_YELLOW,gstring);
- ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nSacar\nSaldo\nTransferir","Ok","Cancelar");
- }
- return 1;
- }
- if(dialogid == 1124)
- {
- ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nSacar\nSaldo\nTransferir","Ok","Cancelar");
- return 1;
- }
- if(dialogid == 1130) //transferir - playerid
- {
- if(!response) return ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nSacar\nSaldo\nTransferir","Ok","Cancelar");
- else if(strval(inputtext) == INVALID_PLAYER_ID) return SendClientMessage(playerid,COLOR_GREY,"O jogador não está online !");
- else if(!IsNumero(inputtext))
- {
- format(gstring,sizeof(gstring),"Seu saldo atual é: R$[%d]\nColoque o ID do jogador para transferir :",PlayerInfo[playerid][pConta]);
- ShowPlayerDialog(playerid,1130,DIALOG_STYLE_INPUT,"Transferir",gstring,"Proximo","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Use o ID,não o nome - Se não sabe o id use /id [nome/parte do nome]");
- }
- else
- {
- chosenpid = strval(inputtext);
- format(gstring,sizeof(gstring),"Saldo: R$[%d]\nAgora coloque a quantidade que deseja transferir !",PlayerInfo[playerid][pConta]);
- ShowPlayerDialog(playerid,1131,DIALOG_STYLE_INPUT,"Transferir",gstring,"Transferir","Voltar");
- }
- return 1;
- }
- if(dialogid == 1131) //transferir - quantidade
- {
- if(!response) return ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nSacar\nSaldo\nTransferir","Ok","Cancelar");
- else if(strval(inputtext) > PlayerInfo[playerid][pConta]) return SendClientMessage(playerid,COLOR_GREY,"Você não tem esta quantia para transferir !");
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,1131,DIALOG_STYLE_INPUT,"Transferir","Agora coloque a quantidade que deseja transferir","Transferir","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- }
- else
- {
- PlayerInfo[playerid][pConta] -= strval(inputtext);
- PlayerInfo[chosenpid][pConta] += strval(inputtext);
- format(gstring,sizeof(gstring),"Você transferiu R$[%d] Para Conta Bancaria de: %s",strval(inputtext),PlayerName(chosenpid));
- SendClientMessage(playerid,COLOR_YELLOW,gstring);
- format(gstring,128,"Seu novo saldo é: R$[%d]",PlayerInfo[playerid][pConta]);
- SendClientMessage(playerid,COLOR_YELLOW,gstring);
- format(gstring,128,"ID[%d] Transferiu R$[%d] para sua conta bancaria",playerid,strval(inputtext));
- SendClientMessage(chosenpid,COLOR_YELLOW,gstring);
- format(gstring,128,"Seu novo saldo: R$[%d]",PlayerInfo[chosenpid][pConta]);
- SendClientMessage(chosenpid,COLOR_YELLOW,gstring);
- ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nSacar\nSaldo\nTransferir","Ok","Cancelar");
- }
- return 1;
- }
- if(dialogid == 1125 && response) // /Banco
- {
- if(response == 0) { return 1; }
- switch(listitem)
- {
- case 0:
- {
- format(gstring,sizeof(gstring),"Seu Saldo atual é : R$%d\nColoque a quantidade para depositar .",PlayerInfo[playerid][pConta]);
- ShowPlayerDialog(playerid,1122,DIALOG_STYLE_INPUT,"Depositar",gstring,"Depositar","Voltar");
- }
- case 1:
- {
- format(gstring,sizeof(gstring),"Seu Saldo atual é: R$%d\nColoque a quantidade para sacar .",PlayerInfo[playerid][pConta]);
- ShowPlayerDialog(playerid,1123,DIALOG_STYLE_INPUT,"Sacar",gstring,"Sacar","Voltar");
- }
- case 2:
- {
- format(gstring,sizeof(gstring),"Seu saldo atual é R$%d",PlayerInfo[playerid][pConta]);
- ShowPlayerDialog(playerid,1124,DIALOG_STYLE_MSGBOX,"Saldo",gstring,"Ok","Voltar");
- }
- case 3:
- {
- format(gstring,sizeof(gstring),"Seu Saldo atual é: R$%d\nColoque o ID do Jogador para transferir .",PlayerInfo[playerid][pConta]);
- ShowPlayerDialog(playerid,1130,DIALOG_STYLE_INPUT,"Transferir",gstring,"Proximo","Voltar");
- }
- }
- }
- if(dialogid == 2568)
- {
- TogglePlayerControllable(playerid, 1);
- if(!response) { return 1; }
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid,2587,DIALOG_STYLE_LIST,"GPS Locais em Geral","Prefeitura\nDepartamento de Policia\n24-7(Mercado)\nLoja de Armas 1\nLoja de Armas 2\nBinco(Loja de Roupas)\nAluguel de Carros\nCentro de Licencas\nHospital\nPosto Sul\nBanco\nLoterica","Selecionar","Voltar");
- }
- case 1:
- {
- ShowPlayerDialog(playerid,2588,DIALOG_STYLE_LIST,"GPS Head Quarters","Policia Militar\nROTA\nExército\nMédicos\nLos Aztecas\nHamas\nPrefeitura\nHitmans\nReporteres\nTaxistas\nPolicia Federal\nMafia Cosa Nostra\nMafia Yakuza\nGroove Street\nAl'Qaeda\nPolicia Civil\nBallas\nLos Vagos\nComando Vermelho\nPCC\nSons Of Anarchy\nMidnight Club\nDetran\nO.A.B\nT.C.P","Selecionar","Voltar");
- }
- case 2:
- {
- ShowPlayerDialog(playerid,2570,DIALOG_STYLE_LIST,"GPS Territorios","Favela(Gang)\nPista de Skate(Gang)\nEstacao Unity(Mafia)\nCasarao(Mafia)","Selecionar","Voltar");
- }
- case 3:
- {
- DisablePlayerCheckpoint(playerid);
- }
- }
- }
- //FIM SISTEMA DE BANCO
- if(dialogid == 2587)
- {
- TogglePlayerControllable(playerid, 1);
- EmDialog[playerid] = 0;
- if(response == 0) { return ShowPlayerDialog(playerid,2568,DIALOG_STYLE_LIST,"GPS","Locais em Geral\nHead Quarters\nTerritorios\nDesligar GPS","Aceitar","Cancelar"); }
- switch(listitem)
- {
- case 0:
- {
- SetPlayerCheckpoint(playerid, 1481.1926,-1764.2736,18.7958,8.0);//prefeitura
- }
- case 1:
- {
- SetPlayerCheckpoint(playerid, 1546.2761,-1675.5995,13.5620,8.0);//DP
- }
- case 2:
- {
- SetPlayerCheckpoint(playerid, 1350.4865,-1753.2505,13.3582,8.0);//24-7
- }
- case 3:
- {
- SetPlayerCheckpoint(playerid, 1790.5725,-1167.3705,23.8281,8.0);//Loja de armas
- }
- case 4:
- {
- SetPlayerCheckpoint(playerid, 1068.7330,-1875.4727,13.5469,8.0);//Loja de armas 2
- }
- case 5:
- {
- SetPlayerCheckpoint(playerid, 2244.7954,-1663.5021,15.4766,8.0);//Binco
- }
- case 6:
- {
- SetPlayerCheckpoint(playerid, 2155.4363,-1171.3413,23.8206,8.0);//Aluguel de Carros
- }
- case 7:
- {
- SetPlayerCheckpoint(playerid, 1411.5593,-1699.5270,13.5395,8.0);//Centro de Licencas
- }
- case 8:
- {
- SetPlayerCheckpoint(playerid, 1175.3164,-1323.7809,14.3906,8.0);//Hospital
- }
- case 9:
- {
- SetPlayerCheckpoint(playerid, 1928.826904,-1776.405517,13.546895,8.0);//Posto Sul
- }
- case 10:
- {
- SetPlayerCheckpoint(playerid, 1462.395751,-1012.391174,26.843799,8.0);//Banco
- }
- case 11:
- {
- SetPlayerCheckpoint(playerid, 1631.8547,-1172.5637,24.0843,8.0);//Loterica
- }
- }
- }
- if(dialogid == 2588)
- {
- TogglePlayerControllable(playerid, 1);
- EmDialog[playerid] = 0;
- if(response == 0) { return ShowPlayerDialog(playerid,2568,DIALOG_STYLE_LIST,"GPS","Locais em Geral\nHead Quarters\nTerritorios\nDesligar GPS","Aceitar","Cancelar"); }
- switch(listitem)
- {
- case 0:
- {
- SetPlayerCheckpoint(playerid, 1554.2512,-1675.5313,16.1953,10.0);//pm
- }
- case 1:
- {
- SetPlayerCheckpoint(playerid, 328.7618,-1511.8379,36.0391,10.0);//rota
- }
- case 2:
- {
- SetPlayerCheckpoint(playerid, -1531.4238,481.8620,7.1875,10.0);//exercito
- }
- case 3:
- {
- SetPlayerCheckpoint(playerid, 1176.7383,-1323.5166,14.0361,10.0);//medicos
- }
- case 4:
- {
- SetPlayerCheckpoint(playerid, 2513.5022,-1947.5504,15.9830,10.0);//aztecas
- }
- case 5:
- {
- SetPlayerCheckpoint(playerid, 2721.3413,-2405.5291,13.4609,10.0);//Hamas
- }
- case 6:
- {
- SetPlayerCheckpoint(playerid, 1480.9232,-1772.3057,18.7958,10.0);//prefeitura
- }
- case 7:
- {
- SetPlayerCheckpoint(playerid, 2344.5366,-1063.6530,53.0159,10.0);//hitmans
- }
- case 8:
- {
- SetPlayerCheckpoint(playerid, 777.1924,-1331.4585,13.5471,10.0);//reporteres
- }
- case 9:
- {
- SetPlayerCheckpoint(playerid, 959.2765,-1416.2083,13.5469,10.0);//taxistas
- }
- case 10:
- {
- SetPlayerCheckpoint(playerid, 1289.7708,-1651.6230,13.5469,10.0);//pf
- }
- case 11:
- {
- SetPlayerCheckpoint(playerid, 1495.9410,-699.4916,94.7500,10.0);//cosa nostra
- }
- case 12:
- {
- SetPlayerCheckpoint(playerid, 664.3810,-1309.7341,13.4609,10.0);//yakuza
- }
- case 13:
- {
- SetPlayerCheckpoint(playerid, 2495.1697,-1690.5923,14.7656,10.0);//groove
- }
- case 14:
- {
- SetPlayerCheckpoint(playerid, -346.5812,-1054.4081,59.2902,10.0);//al'qaeda
- }
- case 15:
- {
- SetPlayerCheckpoint(playerid, 925.5594,-1222.8481,16.9782,10.0);//PC
- }
- case 16:
- {
- SetPlayerCheckpoint(playerid, 1119.2783,-1159.2039,23.5971,10.0);//Ballas
- }
- case 17:
- {
- SetPlayerCheckpoint(playerid, 726.0744,-1450.4675,17.6953,10.0);//vagos
- }
- case 18:
- {
- SetPlayerCheckpoint(playerid, 972.9812,-1544.5394,13.6037,10.0);//cv
- }
- case 19:
- {
- SetPlayerCheckpoint(playerid, 1019.1855,-1104.9576,28.0078,10.0);//pcc
- }
- case 20:
- {
- SetPlayerCheckpoint(playerid, 693.9538,-444.0587,16.3359,10.0);//sons
- }
- case 21:
- {
- SetPlayerCheckpoint(playerid, 293.0777,-1149.7360,80.9099,10.0);//midnight
- }
- case 22:
- {
- SetPlayerCheckpoint(playerid, 1620.8385009766,-1866.1763916016,13.196100234985,10.0);//detran
- }
- case 23:
- {
- SetPlayerCheckpoint(playerid, 1659.3715,-1272.3707,14.8130,10.0);//oab
- }
- case 24:
- {
- SetPlayerCheckpoint(playerid, 2347.2910,-1158.3579,27.1305,10.0);//tcp
- }
- }
- }
- if(dialogid == 2569)
- {
- TogglePlayerControllable(playerid, 1);
- EmDialog[playerid] = 0;
- if(response == 0) { return 1; }
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar um Detetive, terá que cumprir 5 horas de contrato.\nPara se tornar Detetive, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 1;
- TogglePlayerControllable(playerid, 1);
- }
- case 1:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar um Advogado, terá que cumprir 5 horas de contrato.\nPara se tornar um Advogado, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 2;
- //SendClientMessage(playerid, COLOR_GREY, "Emprego desativado,mudo para organização OAB(Organização dos Advogados do Brasil)");
- TogglePlayerControllable(playerid, 1);
- }
- case 2:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar uma Profissional do sexo, terá que cumprir 5 horas de contrato.\nPara se tornar uma Profissional do sexo, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 3;
- TogglePlayerControllable(playerid, 1);
- }
- case 3:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar um Vendedor De Drogas, terá que cumprir 5 horas de contrato.\nPara aceitar o emprego, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 4;
- TogglePlayerControllable(playerid, 1);
- }
- case 4:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","*Você está prestes a se tornar um Mecânico, terá que cumprir 5 horas de contrato.\nPara se tornar um Mecânico, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 5;
- TogglePlayerControllable(playerid, 1);
- }
- case 5:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"vBrasil Games Living || The Return","* Você está prestes a se tornar um Segurança, terá que cumprir 5 horas de contrato.\nPara se tornar um Segurança, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 6;
- TogglePlayerControllable(playerid, 1);
- }
- case 6:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar um Vendedor De Armas, terá que cumprir 5 horas de contrato.\nPara se tornar um Vendedor De Armas, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 7;
- TogglePlayerControllable(playerid, 1);
- }
- case 7:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar um Boxeador, terá que cumprir 5 horas de contrato.\nPara se tornar um Boxeador, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 8;
- TogglePlayerControllable(playerid, 1);
- }
- case 8:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar um Motorista de Onibus, terá que cumprir 5 horas de contrato.\nPara se tornar um Motorista de Onibus, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 9;
- TogglePlayerControllable(playerid, 1);
- }
- case 9:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar um Mendigo, terá que cumprir 5 horas de contrato.\nPara se tornar um Mendigo, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 10;
- TogglePlayerControllable(playerid, 1);
- }
- case 10:
- {
- ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"Brasil Games Living || The Return","* Você está prestes a se tornar um Caminhoneiro, terá que cumprir 5 horas de contrato.\nPara se tornar um Caminhoneiro, clique em aceitar.","Aceitar","Cancelar");
- GettingEmprego[playerid] = 11;
- TogglePlayerControllable(playerid, 1);
- }
- }
- }
- if(dialogid == 2586)
- {
- if(!response)
- {
- GettingEmprego[playerid] = 0;
- return SendClientMessage(playerid, COLOR_GREY, "Você cancelou o emprego.");
- }
- else
- {
- PlayerInfo[playerid][pEmprego] = GettingEmprego[playerid];
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Parabens com seu novo emprego, digite /ajuda para ver seus novos comandos!");
- }
- }
- if(dialogid == 2570)
- {
- TogglePlayerControllable(playerid, 1);
- EmDialog[playerid] = 0;
- if(response == 0) { return ShowPlayerDialog(playerid,2568,DIALOG_STYLE_LIST,"GPS","Locais em Geral\nHead Quarters\nTerritorios\nDesligar GPS","Aceitar","Cancelar"); }
- switch(listitem)
- {
- case 0:
- {
- SetPlayerCheckpoint(playerid, 2155.7847,-1010.8846,62.9648,8.0);//Favela
- }
- case 1:
- {
- SetPlayerCheckpoint(playerid, 1919.1139,-1411.3921,13.5703,8.0);//Pista de Skate
- }
- case 2:
- {
- SetPlayerCheckpoint(playerid, 1741.1454,-1945.1676,13.5640,8.0);//Estacao Unity
- }
- case 3:
- {
- SetPlayerCheckpoint(playerid, 1242.5569,-2036.5902,60.0824,8.0);//Casarao
- }
- }
- }
- if(dialogid == 2571)
- {
- TogglePlayerControllable(playerid, 1);
- EmDialog[playerid] = 0;
- if(response == 0) { return 1; }
- switch(listitem)
- {
- case 0:
- {
- //Motorista
- if(GetPlayerMoneyEx(playerid) < 2000) return SendClientMessage(playerid,COLOR_GREY,"Você não tem R$2000 para comprar!");
- TogglePlayerControllable(playerid, 1);
- GivePlayerMoneyEx(playerid,-2000);
- BizzInfo[5][bTill] += 2000;
- ExtortionBiz(5, 2000);
- PlayerInfo[playerid][pCarLic] = 1;
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comprou a Licença De Motorista!");
- }
- case 1:
- {
- //Voo
- if(GetPlayerMoneyEx(playerid) < 2500) return SendClientMessage(playerid,COLOR_GREY,"Você não tem R$2500 para comprar");
- TogglePlayerControllable(playerid, 1);
- GivePlayerMoneyEx(playerid,-2500);
- BizzInfo[5][bTill] += 2500;
- ExtortionBiz(5, 2500);
- PlayerInfo[playerid][pFlyLic] = 1;
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comprou a Licença De Voo!");
- }
- case 2:
- {
- //Navegacao
- if(GetPlayerMoneyEx(playerid) < 2000) return SendClientMessage(playerid,COLOR_GREY,"Você não R$2000 para comprar!");
- TogglePlayerControllable(playerid, 1);
- GivePlayerMoneyEx(playerid,-2000);
- BizzInfo[5][bTill] += 2000;
- ExtortionBiz(5, 2000);
- PlayerInfo[playerid][pBoatLic] = 1;
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comprou a Licença De Navegação!");
- }
- case 3:
- {
- //Pesca
- if(GetPlayerMoneyEx(playerid) < 1000) return SendClientMessage(playerid,COLOR_GREY,"Você não tem R$1000 para comprar!");
- TogglePlayerControllable(playerid, 1);
- GivePlayerMoneyEx(playerid,-1000);
- BizzInfo[5][bTill] += 1000;
- ExtortionBiz(5, 1000);
- PlayerInfo[playerid][pFishLic] = 1;
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comprou a Licença De Pesca!");
- }
- case 4:
- {
- //Armas
- if(GetPlayerMoneyEx(playerid) < 2500) return SendClientMessage(playerid,COLOR_GREY,"Você não tem R$2500 para comprar!");
- TogglePlayerControllable(playerid, 1);
- GivePlayerMoneyEx(playerid,-2500);
- BizzInfo[5][bTill] += 2500;
- ExtortionBiz(5, 2500);
- PlayerInfo[playerid][pGunLic] = 1;
- SendClientMessage(playerid, COLOR_LIGHTBLUE,"Comprou a Licença De Armas!");
- }
- }
- }
- if(dialogid == 2572)
- {
- TogglePlayerControllable(playerid, 1);
- if(!response) { return 1; }
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid,2573,DIALOG_STYLE_INPUT,"Pegar Maconha","Digite a quantia de maconha em gramas","Pegar","Voltar");
- }
- case 1:
- {
- ShowPlayerDialog(playerid,2574,DIALOG_STYLE_INPUT,"Pegar Cocaina","Digite a quantia de cocaina em gramas","Pegar","Voltar");
- }
- case 2:
- {
- ShowPlayerDialog(playerid,2575,DIALOG_STYLE_INPUT,"Pegar Crack","Digite a quantia de crack em gramas","Pegar","Voltar");
- }
- case 3:
- {
- ShowPlayerDialog(playerid,2576,DIALOG_STYLE_INPUT,"Esconder Maconha","Digite a quantia de maconha em gramas","Pegar","Voltar");
- }
- case 4:
- {
- ShowPlayerDialog(playerid,2577,DIALOG_STYLE_INPUT,"Esconder Cocaina","Digite a quantia de cocaina em gramas","Pegar","Voltar");
- }
- case 5:
- {
- ShowPlayerDialog(playerid,2578,DIALOG_STYLE_INPUT,"Esconder Crack","Digite a quantia de crack em gramas","Pegar","Voltar");
- }
- case 6:
- {
- ShowPlayerDialog(playerid,2579,DIALOG_STYLE_INPUT,"Pegar Safe Maconha","Digite a quantia de safe maconha em gramas","Pegar","Voltar");
- }
- case 7:
- {
- ShowPlayerDialog(playerid,2580,DIALOG_STYLE_INPUT,"Pegar Safe Cocaina","Digite a quantia de safe cocaina em gramas","Pegar","Voltar");
- }
- case 8:
- {
- ShowPlayerDialog(playerid,2581,DIALOG_STYLE_INPUT,"Pegar Safe Crack","Digite a quantia de safe crack em gramas","Pegar","Voltar");
- }
- }
- }
- if(dialogid == 2573)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2573,DIALOG_STYLE_INPUT,"Pegar Maconha","Digite a quantia de maconha em gramas","Pegar","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new price, tel;
- new level = PlayerInfo[playerid][pDrogasSkill];
- if(level >= 0 && level <= 50)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 100) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 100 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 51 && level <= 100)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 200) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 200 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 101 && level <= 200)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 350) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 350 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 201 && level <= 400)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 500) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 500 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 401)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 999) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 999 graças ao lvl de sua Habilidade!"); return 1; } }
- if(PlayerInfo[playerid][pDrogas] > 4)
- {
- format(gstring, sizeof(gstring), " Você ainda tem %d gramas de maconha, Venda tudo primeiro !", PlayerInfo[playerid][pDrogas]);
- SendClientMessage(playerid, COLOR_GREY, gstring);
- return 1;
- }
- price = strval(inputtext) * tel;
- if(GetPlayerMoney(playerid) > strval(inputtext))
- {
- format(gstring, sizeof(gstring), "* Você comprou %d gramas por $%d.", strval(inputtext), price);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- GivePlayerMoney(playerid, -price);
- SBizzInfo[17][sbTill] += price;
- ExtortionSBiz(17, price);
- PlayerInfo[playerid][pDrogas] = strval(inputtext)+PlayerInfo[playerid][pDrogas];
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, " Você não tem dinheiro para isso !");
- }
- }
- if(dialogid == 2574)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2574,DIALOG_STYLE_INPUT,"Pegar Cocaina","Digite a quantia de cocaina em gramas","Pegar","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new price, tel;
- new level = PlayerInfo[playerid][pDrogasSkill];
- if(level >= 0 && level <= 50)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 100) { SendClientMessage(playerid, COLOR_GREY, " Você não pode pegar abaixo de 1 ou superior 100 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 51 && level <= 100)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 200) { SendClientMessage(playerid, COLOR_GREY, " Você não pode pegar abaixo de 1 ou superior 200 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 101 && level <= 200)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 350) { SendClientMessage(playerid, COLOR_GREY, " Você não pode pegar abaixo de 1 ou superior 350 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 201 && level <= 400)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 500) { SendClientMessage(playerid, COLOR_GREY, " Você não pode pegar abaixo de 1 ou superior 500 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 401)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 999) { SendClientMessage(playerid, COLOR_GREY, " Você não pode pegar abaixo de 1 ou superior 999 graças ao lvl de sua Habilidade!"); return 1; } }
- if(PlayerInfo[playerid][pDrogas2] > 4)
- {
- format(gstring, sizeof(gstring), " Você ainda tem %d gramas de cocaina, Venda tudo primeiro !", PlayerInfo[playerid][pDrogas2]);
- SendClientMessage(playerid, COLOR_GREY, gstring);
- return 1;
- }
- price = strval(inputtext) * tel;
- if(GetPlayerMoney(playerid) > strval(inputtext))
- {
- format(gstring, sizeof(gstring), "* Você comprou %d gramas por $%d.", strval(inputtext), price);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- GivePlayerMoney(playerid, -price);
- SBizzInfo[14][sbTill] += price;
- ExtortionSBiz(14, price);
- PlayerInfo[playerid][pDrogas2] = strval(inputtext)+PlayerInfo[playerid][pDrogas2];
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, " Você não tem dinheiro para isso !");
- }
- }
- if(dialogid == 2575)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2575,DIALOG_STYLE_INPUT,"Pegar Crack","Digite a quantia de crack em gramas","Pegar","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new price, tel;
- new level = PlayerInfo[playerid][pDrogasSkill];
- if(level >= 0 && level <= 50)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 100) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 100 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 51 && level <= 100)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 200) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 200 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 101 && level <= 200)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 350) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 350 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 201 && level <= 400)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 500) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 500 graças ao lvl de sua Habilidade!"); return 1; } }
- else if(level >= 401)
- { tel = 30; if(strval(inputtext) < 1 || strval(inputtext) > 999) { SendClientMessage(playerid, COLOR_GREY, " Você não pode ir abaixo de 1 ou superior 999 graças ao lvl de sua Habilidade!"); return 1; } }
- if(PlayerInfo[playerid][pDrogas3] > 4)
- {
- format(gstring, sizeof(gstring), " Você ainda tem %d gramas de crack, Venda tudo primeiro !", PlayerInfo[playerid][pDrogas3]);
- SendClientMessage(playerid, COLOR_GREY, gstring);
- return 1;
- }
- price = strval(inputtext) * tel;
- if(GetPlayerMoney(playerid) > strval(inputtext))
- {
- format(gstring, sizeof(gstring), "* Você comprou %d gramas por $%d.", strval(inputtext), price);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- GivePlayerMoney(playerid, -price);
- SBizzInfo[15][sbTill] += price;
- ExtortionSBiz(15, price);
- PlayerInfo[playerid][pDrogas3] = strval(inputtext)+PlayerInfo[playerid][pDrogas3];
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, " Você não tem dinheiro para isso !");
- }
- }
- if(dialogid == 2576)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2576,DIALOG_STYLE_INPUT,"Esconder Maconha","Digite a quantia de crack em gramas","Esconder","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new ammount = strval(inputtext);
- if(ammount < 1 || ammount > 10000)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "não pode esconder menos de 1 e nem mais de 10000");
- return 1;
- }
- if(PlayerInfo[playerid][pDrogas] >= ammount)
- {
- PlayerInfo[playerid][pDrogas] = PlayerInfo[playerid][pDrogas]-ammount;
- PlayerInfo[playerid][pSafeDrogas] = PlayerInfo[playerid][pSafeDrogas]+ammount;
- format(gstring, sizeof(gstring), "* Você escondeu %d gramas!",ammount);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, "Você não tem tudo isso!");
- return 1;
- }
- }
- if(dialogid == 2577)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2577,DIALOG_STYLE_INPUT,"Esconder Cocaina","Digite a quantia de cocaina em gramas","Esconder","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new ammount = strval(inputtext);
- if(ammount < 1 || ammount > 10000)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "não pode esconder menos de 1 e nem mais de 10000");
- return 1;
- }
- if(PlayerInfo[playerid][pDrogas2] >= ammount)
- {
- PlayerInfo[playerid][pDrogas2] = PlayerInfo[playerid][pDrogas2]-ammount;
- PlayerInfo[playerid][pSafeDrogas2] = PlayerInfo[playerid][pSafeDrogas2]+ammount;
- format(gstring, sizeof(gstring), "* Você escondeu %d gramas!",ammount);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, "Você não tem tudo isso!");
- return 1;
- }
- }
- if(dialogid == 2578)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2578,DIALOG_STYLE_INPUT,"Esconder Crack","Digite a quantia de crack em gramas","Esconder","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new ammount = strval(inputtext);
- if(ammount < 1 || ammount > 10000)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "não pode esconder menos de 1 e nem mais de 10000");
- return 1;
- }
- if(PlayerInfo[playerid][pDrogas3] >= ammount)
- {
- PlayerInfo[playerid][pDrogas3] = PlayerInfo[playerid][pDrogas3]-ammount;
- PlayerInfo[playerid][pSafeDrogas3] = PlayerInfo[playerid][pSafeDrogas3]+ammount;
- format(gstring, sizeof(gstring), "* Você escondeu %d gramas!",ammount);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, "Você não tem tudo isso!");
- return 1;
- }
- }
- if(dialogid == 2579)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2579,DIALOG_STYLE_INPUT,"Pegar Safe Maconha","Digite a quantia de maconha em gramas","Pegar","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new ammount = strval(inputtext);
- if(ammount < 1 || ammount > 10000)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "não pode pegar menos de 1 e nem mais de 10000");
- return 1;
- }
- if(PlayerInfo[playerid][pSafeDrogas] >= ammount)
- {
- PlayerInfo[playerid][pDrogas] = PlayerInfo[playerid][pDrogas]+ammount;
- PlayerInfo[playerid][pSafeDrogas] = PlayerInfo[playerid][pSafeDrogas]-ammount;
- format(gstring, sizeof(gstring), "* Você pegou %d gramas de maconha no esconderijo!",ammount);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD2, "Você não tem tudo isso!");
- return 1;
- }
- }
- if(dialogid == 2580)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2580,DIALOG_STYLE_INPUT,"Pegar Safe Cocaina","Digite a quantia de cocaina em gramas","Pegar","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new ammount = strval(inputtext);
- if(ammount < 1 || ammount > 10000)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "não pode pegar menos de 1 e nem mais de 10000");
- return 1;
- }
- if(PlayerInfo[playerid][pSafeDrogas2] >= ammount)
- {
- PlayerInfo[playerid][pDrogas2] = PlayerInfo[playerid][pDrogas2]+ammount;
- PlayerInfo[playerid][pSafeDrogas2] = PlayerInfo[playerid][pSafeDrogas2]-ammount;
- format(gstring, sizeof(gstring), "* Você pegou %d gramas de cocaína no esconderijo!",ammount);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD2, "Você não tem tudo isso!");
- return 1;
- }
- }
- if(dialogid == 2581)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2581,DIALOG_STYLE_INPUT,"Pegar Safe Crack","Digite a quantia de crack em gramas","Pegar","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new ammount = strval(inputtext);
- if(ammount < 1 || ammount > 10000)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "não pode pegar menos de 1 e nem mais de 10000");
- return 1;
- }
- if(PlayerInfo[playerid][pSafeDrogas3] >= ammount)
- {
- PlayerInfo[playerid][pDrogas3] = PlayerInfo[playerid][pDrogas3]+ammount;
- PlayerInfo[playerid][pSafeDrogas3] = PlayerInfo[playerid][pSafeDrogas3]-ammount;
- format(gstring, sizeof(gstring), "* Você pegou %d gramas de crack no esconderijo!",ammount);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD2, "Você não tem tudo isso!");
- return 1;
- }
- }
- if(dialogid == 2582)
- {
- if(!response) { return 1; }
- switch(listitem)
- {
- case 0:
- {
- OnPlayerCommandText(playerid, "/equiparm");
- }
- case 1:
- {
- ShowPlayerDialog(playerid,2583,DIALOG_STYLE_INPUT,"Pegar Safe Materiais","Digite a quantia de safe materiais que deseja pegar","Pegar","Voltar");
- }
- case 2:
- {
- ShowPlayerDialog(playerid,2584,DIALOG_STYLE_INPUT,"Esconder Materiais","Digite a quantia de materiais para esconder","Esconder","Voltar");
- }
- }
- }
- if(dialogid == 2583)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2582, DIALOG_STYLE_LIST, "Mafia Menu", "Equipar\nPegar Materiais\nEsconder Materiais", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2583,DIALOG_STYLE_INPUT,"Pegar Safe Materiais","Digite a quantia de safe materiais que deseja pegar","Pegar","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new quantidade = strval(inputtext);
- if(quantidade < 1 || quantidade > 10000)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "não pode pegar menos de 1 e nem mais de 10000");
- return 1;
- }
- if(PlayerInfo[playerid][psMats] >= quantidade)
- {
- PlayerInfo[playerid][pMats] = PlayerInfo[playerid][pMats]+quantidade;
- PlayerInfo[playerid][psMats] = PlayerInfo[playerid][psMats]-quantidade;
- format(gstring, sizeof(gstring), "* Você pegou %d materiais no esconderijo!",quantidade);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, "Você não tem tudo isso!");
- return 1;
- }
- }
- if(dialogid == 2584)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2582, DIALOG_STYLE_LIST, "Mafia Menu", "Equipar\nPegar Materiais\nEsconder Materiais", "Confirma", "Cancela"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid,2584,DIALOG_STYLE_INPUT,"Esconder Materiais","Digite a quantia de materiais para esconder","Esconder","Voltar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !");
- return 1;
- }
- new ammount = strval(inputtext);
- if(ammount < 1 || ammount > 10000)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "não pode pegar menos de 1 e nem mais de 10000");
- return 1;
- }
- if(PlayerInfo[playerid][pMats] >= ammount)
- {
- PlayerInfo[playerid][pMats] = PlayerInfo[playerid][pMats]-ammount;
- PlayerInfo[playerid][psMats] = PlayerInfo[playerid][psMats]+ammount;
- format(gstring, sizeof(gstring), "* Você escondeu %d materiais!",ammount);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, "Você não tem tudo isso!");
- return 1;
- }
- }
- if(dialogid == 2585)
- {
- if(!response) { return 1; }
- switch(listitem)
- {
- case 0:
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 1524.4977,-1677.9469,6.2188);
- }
- case 1:
- {
- SetPlayerInterior(playerid, 6);
- SetPlayerPos(playerid, 246.2975,87.4735,1003.6406);
- }
- case 2:
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 1565.1235,-1666.9944,28.3956);
- }
- }
- }
- if(dialogid == 2586)
- {
- if(!response) { return ShowPlayerDialog(playerid, 2586, DIALOG_STYLE_INPUT, "Pegar Materiais", "Digite a quantidade de materiais/nque deseja pegar", "Pegar", "Cancelar"); }
- else if(!IsNumero(inputtext))
- {
- ShowPlayerDialog(playerid, 2586, DIALOG_STYLE_INPUT, "Pegar Materiais", "Digite a quantidade de materiais/nque deseja pegar", "Pegar", "Cancelar");
- SendClientMessage(playerid,COLOR_GREY,"Porfavor, use números!");
- return 1;
- }
- new ammount = strval(inputtext);
- if(MatsHolding[playerid] >= 10)
- {
- SendClientMessage(playerid, COLOR_GREY, " Você já tem pacotes !");
- return 1;
- }
- if(ammount < 1 || ammount > 10) { SendClientMessage(playerid, COLOR_GREY, " Número de pacotes mínimo 1 máximo 10 !"); return 1; }
- new price = ammount * 100;
- if(GetPlayerMoney(playerid) > price)
- {
- format(gstring, sizeof(gstring), "* Você recebeu %d materiais por R$%d.", ammount, price);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
- GivePlayerMoney(playerid, - price);
- MatsHolding[playerid] = ammount;
- }
- else
- {
- format(gstring, sizeof(gstring), " Você não tem R$%d !", price);
- SendClientMessage(playerid, COLOR_GREY, gstring);
- }
- }
- //Sistema de Cofre ORG
- if(dialogid == 12)
- {
- if(!response) return 1;
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- if(listitem == 0)
- {
- format(string,sizeof(string),"O Saldo da Sua Organização é de R$%d\nO que você deseja fazer ?",CofreOrg[org][Dinheiro]);
- ShowPlayerDialog(playerid, 13, DIALOG_STYLE_MSGBOX, "Cofre da Organização", string, "Sacar", "Depositar");
- return 1;
- }
- if(listitem == 1)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Materiais\nO que você deseja fazer ?",CofreOrg[org][Materiais]);
- ShowPlayerDialog(playerid, 14, DIALOG_STYLE_MSGBOX, "Cofre da Organização", string, "Sacar", "Depositar");
- return 1;
- }
- if(listitem == 2)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Maconha\nO que você deseja fazer ?",CofreOrg[org][Maconha]);
- ShowPlayerDialog(playerid, 15, DIALOG_STYLE_MSGBOX, "Cofre da Organização", string, "Sacar", "Depositar");
- return 1;
- }
- if(listitem == 3)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Cocaina\nO que você deseja fazer ?",CofreOrg[org][Cocaina]);
- ShowPlayerDialog(playerid, 16, DIALOG_STYLE_MSGBOX, "Cofre da Organização", string, "Sacar", "Depositar");
- return 1;
- }
- if(listitem == 4)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Crack\nO que você deseja fazer ?",CofreOrg[org][Crack]);
- ShowPlayerDialog(playerid, 17, DIALOG_STYLE_MSGBOX, "Cofre da Organização", string, "Sacar", "Depositar");
- return 1;
- }
- if(listitem == 5)
- {
- OnPlayerCommandText(playerid,"/equiparg");
- return 1;
- }
- }
- return 1;
- }
- if(dialogid == 13)
- {
- new org = GetPlayerOrg(playerid);
- if(response == 0)
- {
- format(string,sizeof(string),"O Saldo da Sua Organização é de R$%d\nQuantos você deseja Depositar ?",CofreOrg[org][Dinheiro]);
- ShowPlayerDialog(playerid, 18, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Depositar", "Cancelar");
- return 1;
- }
- if(response >= 1)
- {
- format(string,sizeof(string),"O Saldo da Sua Organização é de R$%d\nQuantos você deseja Sacar ?",CofreOrg[org][Dinheiro]);
- ShowPlayerDialog(playerid, 19, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Sacar", "Cancelar");
- return 1;
- }
- return 1;
- }
- if(dialogid == 14)
- {
- new org = GetPlayerOrg(playerid);
- if(response == 0)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Materiais\nQuantos você deseja Depositar ?",CofreOrg[org][Materiais]);
- ShowPlayerDialog(playerid, 20, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Depositar", "Cancelar");
- return 1;
- }
- if(response >= 1)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Materiais\nQuantos você deseja Sacar ?",CofreOrg[org][Materiais]);
- ShowPlayerDialog(playerid, 21, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Sacar", "Cancelar");
- return 1;
- }
- return 1;
- }
- if(dialogid == 15)
- {
- new org = GetPlayerOrg(playerid);
- if(response == 0)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Maconha\nQuantos você deseja Depositar ?",CofreOrg[org][Maconha]);
- ShowPlayerDialog(playerid, 22, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Depositar", "Cancelar");
- return 1;
- }
- if(response >= 1)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Maconha\nQuantos você deseja Sacar ?",CofreOrg[org][Maconha]);
- ShowPlayerDialog(playerid, 23, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Sacar", "Cancelar");
- return 1;
- }
- return 1;
- }
- if(dialogid == 16)
- {
- new org = GetPlayerOrg(playerid);
- if(response == 0)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Cocaina\nQuantos você deseja Depositar ?",CofreOrg[org][Cocaina]);
- ShowPlayerDialog(playerid, 24, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Depositar", "Cancelar");
- return 1;
- }
- if(response >= 1)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Cocaina\nQuantos você deseja Sacar ?",CofreOrg[org][Cocaina]);
- ShowPlayerDialog(playerid, 25, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Sacar", "Cancelar");
- return 1;
- }
- return 1;
- }
- if(dialogid == 17)
- {
- new org = GetPlayerOrg(playerid);
- if(response == 0)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Crack\nQuantos você deseja Depositar ?",CofreOrg[org][Crack]);
- ShowPlayerDialog(playerid, 26, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Depositar", "Cancelar");
- return 1;
- }
- if(response >= 1)
- {
- format(string,sizeof(string),"A Sua Organização tem %d de Crack\nQuantos você deseja Sacar ?",CofreOrg[org][Crack]);
- ShowPlayerDialog(playerid, 27, DIALOG_STYLE_INPUT, "Cofre da Organização", string, "Sacar", "Cancelar");
- return 1;
- }
- return 1;
- }
- if(dialogid == 18)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new depgrana = strval(inputtext);
- if(GetPlayerMoneyEx(playerid) < depgrana)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem tudo isso!");
- return 1;
- }
- if(depgrana > 0)
- {
- if(GetPlayerMoneyEx(playerid) >= depgrana)
- {
- GivePlayerMoneyEx(playerid, -depgrana);
- DepositarGranaOrg(org,depgrana);
- format(string,sizeof(string),"Você Depositou R$%d, o Novo Saldo é de R$%d",depgrana,CofreOrg[org][Dinheiro]);
- SendClientMessage(playerid,COLOR_YELLOW,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 19)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new sacgrana = strval(inputtext);
- if(sacgrana > CofreOrg[org][Dinheiro])
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Sua Organização não tem tudo isso!");
- return 1;
- }
- if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Somente Líder e Sub-Líder Podem Sacar Dinheiro");
- return 1;
- }
- if(sacgrana > 0)
- {
- if(sacgrana <= CofreOrg[org][Dinheiro])
- {
- GivePlayerMoneyEx(playerid, sacgrana);
- SacarGranaOrg(org,sacgrana);
- format(string,sizeof(string),"Você Sacou R$%d, o Novo Saldo é de R$%d",sacgrana,CofreOrg[org][Dinheiro]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 20)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new depmat = strval(inputtext);
- new pMateriais = PlayerInfo[playerid][pMats];
- if(pMateriais < depmat)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem tudo isso!");
- return 1;
- }
- if(depmat > 0)
- {
- if(pMateriais >= depmat)
- {
- PlayerInfo[playerid][pMats] = pMateriais-depmat;
- DepositarMaterialOrg(org,depmat);
- format(string,sizeof(string),"Você Depositou %d de Materiais, o Novo Saldo de Materiais é de %d",depmat,CofreOrg[org][Materiais]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 21)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new sacmat = strval(inputtext);
- new pMateriais = PlayerInfo[playerid][pMats];
- if(sacmat > CofreOrg[org][Materiais])
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Sua Organização não tem tudo isso!");
- return 1;
- }
- if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Somente Líder e Sub-Líder Podem Sacar Materiais");
- return 1;
- }
- if(sacmat > 0)
- {
- if(sacmat <= CofreOrg[org][Materiais])
- {
- PlayerInfo[playerid][pMats] = pMateriais+sacmat;
- SacarMaterialOrg(org,sacmat);
- format(string,sizeof(string),"Você Sacou %d Materiais, o Novo Saldo de Materiais é %d",sacmat,CofreOrg[org][Materiais]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 22)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new depmac = strval(inputtext);
- new pMaconha = PlayerInfo[playerid][pDrogas];
- if(pMaconha < depmac)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem tudo isso!");
- return 1;
- }
- if(depmac > 0)
- {
- if(pMaconha >= depmac)
- {
- PlayerInfo[playerid][pDrogas] = pMaconha-depmac;
- DepositarMaconhaOrg(org,depmac);
- format(string,sizeof(string),"Você Depositou %d de Maconha, o Novo Saldo de Maconha é de %d",depmac,CofreOrg[org][Maconha]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 23)
- {
- if(response == 0)
- {
- return 1;
- }
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new sacmac = strval(inputtext);
- new pMaconha = PlayerInfo[playerid][pDrogas];
- if(sacmac > CofreOrg[org][Maconha])
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Sua Organização não tem tudo isso!");
- return 1;
- }
- if(PlayerInfo[playerid][pCargo] < 5)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Somente Lider e Sub-Lider Podem Sacar Maconha");
- return 1;
- }
- if(sacmac > 0)
- {
- if(sacmac <= CofreOrg[org][Maconha])
- {
- PlayerInfo[playerid][pDrogas] = pMaconha+sacmac;
- SacarMaconhaOrg(org,sacmac);
- format(string,sizeof(string),"Você Sacou %d de Maconha, o Novo Saldo de Maconha é de %d",sacmac,CofreOrg[org][Maconha]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 24)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new depcoca = strval(inputtext);
- new pCocaina = PlayerInfo[playerid][pDrogas2];
- if(pCocaina < depcoca)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem tudo isso!");
- return 1;
- }
- if(depcoca > 0)
- {
- if(pCocaina >= depcoca)
- {
- PlayerInfo[playerid][pDrogas2] = pCocaina-depcoca;
- DepositarCocainaOrg(org,depcoca);
- format(string,sizeof(string),"Você Depositou %d de Cocaina, o Novo Saldo de Cocaina é de %d",depcoca,CofreOrg[org][Cocaina]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 25)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new saccoca = strval(inputtext);
- new pCocaina = PlayerInfo[playerid][pDrogas2];
- if(saccoca > CofreOrg[org][Cocaina])
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Sua Organização não tem tudo isso!");
- return 1;
- }
- if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Somente Líder e Sub-Líder Podem Sacar Cocaína");
- return 1;
- }
- if(saccoca > 0)
- {
- if(saccoca <= CofreOrg[org][Cocaina])
- {
- PlayerInfo[playerid][pDrogas2] = pCocaina+saccoca;
- SacarCocainaOrg(org,saccoca);
- format(string,sizeof(string),"Você Sacou %d de Cocaína, o Novo Saldo de Cocaína é de %d",saccoca,CofreOrg[org][Cocaina]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 26)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new depcrac = strval(inputtext);
- new pCrack = PlayerInfo[playerid][pDrogas3];
- if(pCrack < depcrac)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Você não tem tudo isso!");
- return 1;
- }
- if(depcrac > 0)
- {
- if(pCrack >= depcrac)
- {
- PlayerInfo[playerid][pDrogas3] = pCrack-depcrac;
- DepositarCrackOrg(org,depcrac);
- format(string,sizeof(string),"Você Depositou %d de Crack, o Novo Saldo de Crack é de %d",depcrac,CofreOrg[org][Crack]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 27)
- {
- if(response >= 1)
- {
- new org = GetPlayerOrg(playerid);
- new saccrac = strval(inputtext);
- new pCrack = PlayerInfo[playerid][pDrogas3];
- if(saccrac > CofreOrg[org][Crack])
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Sua Organização não tem tudo isso!");
- return 1;
- }
- if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1)
- {
- SendClientMessage(playerid,COLOR_GRAD1,"Somente Líder e Sub-Líder Podem Sacar Crack");
- return 1;
- }
- if(saccrac > 0)
- {
- if(saccrac <= CofreOrg[org][Crack])
- {
- PlayerInfo[playerid][pDrogas3] = pCrack+saccrac;
- SacarCrackOrg(org,saccrac);
- format(string,sizeof(string),"Você Sacou %d de Crack, o Novo Saldo de Crack é de %d",saccrac,CofreOrg[org][Crack]);
- SendClientMessage(playerid,COLOR_GRAD1,string);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 28)
- {
- new Float:health;
- GetPlayerName(playerid, sendername, sizeof(sendername));
- GetPlayerHealth(playerid, health);
- if(!response) return 1;
- if (GetPlayerMoneyEx(playerid) <= 0)
- {
- GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro", 5000, 1);
- return 1;
- }
- if(response)
- {
- if(listitem == 0)
- {
- format(string, sizeof(string), "* %s come um espetinho de coração.", sendername);
- GivePlayerMoneyEx(playerid, -2);
- SetPlayerHealth(playerid, health + 20);
- }
- if(listitem == 1)
- {
- format(string, sizeof(string), "* %s come um churrasco de carne de vaca.", sendername);
- GivePlayerMoneyEx(playerid, -4);
- SetPlayerHealth(playerid, health + 50);
- }
- if(listitem == 2)
- {
- format(string, sizeof(string), "* %s come um churrasco de jacare.", sendername);
- GivePlayerMoneyEx(playerid, -5);
- SetPlayerHealth(playerid, health + 80);
- }
- if(listitem == 3)
- {
- format(string, sizeof(string), "* %s come um churrasco de frango.", sendername);
- GivePlayerMoneyEx(playerid, -3);
- SetPlayerHealth(playerid, health + 35);
- }
- if(listitem == 4)
- {
- format(string, sizeof(string), "* %s bebeu água.", sendername);
- GivePlayerMoneyEx(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- if(listitem == 5)
- {
- format(string, sizeof(string), "* %s bebeu suco.", sendername);
- GivePlayerMoneyEx(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- }
- return 1;
- }
- if(dialogid == 29)
- {
- new Float:health;
- GetPlayerName(playerid, sendername, sizeof(sendername));
- GetPlayerHealth(playerid, health);
- if(!response) return 1;
- if (GetPlayerMoneyEx(playerid) <= 0)
- {
- GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro", 5000, 1);
- return 1;
- }
- if(response)
- {
- if(listitem == 0)
- {
- format(string, sizeof(string), "* %s come um X-SIMPLES.", sendername);
- GivePlayerMoneyEx(playerid, -2);
- SetPlayerHealth(playerid, health + 20);
- }
- if(listitem == 1)
- {
- format(string, sizeof(string), "* %s come um X-TUDO.", sendername);
- GivePlayerMoneyEx(playerid, -4);
- SetPlayerHealth(playerid, health + 50);
- }
- if(listitem == 2)
- {
- format(string, sizeof(string), "* %s come um X-ESPECIAL.", sendername);
- GivePlayerMoneyEx(playerid, -5);
- SetPlayerHealth(playerid, health + 80);
- }
- if(listitem == 3)
- {
- format(string, sizeof(string), "* %s come um X-FRANGO.", sendername);
- GivePlayerMoneyEx(playerid, -3);
- SetPlayerHealth(playerid, health + 35);
- }
- if(listitem == 4)
- {
- format(string, sizeof(string), "* %s bebeu água.", sendername);
- GivePlayerMoneyEx(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- if(listitem == 5)
- {
- format(string, sizeof(string), "* %s bebeu suco.", sendername);
- GivePlayerMoneyEx(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- }
- }
- if(dialogid == 30)
- {
- new Float:health;
- GetPlayerName(playerid, sendername, sizeof(sendername));
- GetPlayerHealth(playerid, health);
- if(!response) return 1;
- if (GetPlayerMoneyEx(playerid) <= 0)
- {
- GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro", 5000, 1);
- return 1;
- }
- if(response)
- {
- if(listitem == 0)
- {
- format(string, sizeof(string), "* %s come uma pizza pequena de presunto e mussarela.", sendername);
- GivePlayerMoneyEx(playerid, -2);
- SetPlayerHealth(playerid, health + 20);
- }
- if(listitem == 1)
- {
- format(string, sizeof(string), "* %s come uma pizza grande de presunto e mussarela.", sendername);
- GivePlayerMoneyEx(playerid, -4);
- SetPlayerHealth(playerid, health + 50);
- }
- if(listitem == 2)
- {
- format(string, sizeof(string), "* %s come uma pizza extra grande.", sendername);
- GivePlayerMoneyEx(playerid, -5);
- SetPlayerHealth(playerid, health + 80);
- }
- if(listitem == 3)
- {
- format(string, sizeof(string), "* %s come uma pizza de Bacon e Chocolate.", sendername);
- GivePlayerMoneyEx(playerid, -3);
- SetPlayerHealth(playerid, health + 35);
- }
- if(listitem == 4)
- {
- format(string, sizeof(string), "* %s bebeu água.", sendername);
- GivePlayerMoneyEx(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- if(listitem == 5)
- {
- format(string, sizeof(string), "* %s bebeu suco.", sendername);
- GivePlayerMoneyEx(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- }
- }
- if(dialogid == 31)
- {
- new Float:health;
- GetPlayerName(playerid, sendername, sizeof(sendername));
- GetPlayerHealth(playerid, health);
- if(!response) return 1;
- if (GetPlayerMoneyEx(playerid) <= 0)
- {
- GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro", 5000, 1);
- return 1;
- }
- if(response)
- {
- if(listitem == 0)
- {
- format(string, sizeof(string), "* %s come uma rosquinha pequena.", sendername);
- GivePlayerMoneyEx(playerid, -2);
- SetPlayerHealth(playerid, health + 20);
- }
- if(listitem == 1)
- {
- format(string, sizeof(string), "* %s come uma rosquinha normal.", sendername);
- GivePlayerMoneyEx(playerid, -4);
- SetPlayerHealth(playerid, health + 50);
- }
- if(listitem == 2)
- {
- format(string, sizeof(string), "* %s come uma rosquinha de chefe.", sendername);
- GivePlayerMoneyEx(playerid, -5);
- SetPlayerHealth(playerid, health + 80);
- }
- if(listitem == 3)
- {
- format(string, sizeof(string), "* %s come uma super rosquinha.", sendername);
- GivePlayerMoneyEx(playerid, -3);
- SetPlayerHealth(playerid, health + 35);
- }
- if(listitem == 4)
- {
- format(string, sizeof(string), "* %s bebeu água.", sendername);
- GivePlayerMoneyEx(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- if(listitem == 5)
- {
- format(string, sizeof(string), "* %s bebeu suco.", sendername);
- GivePlayerMoneyEx(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- }
- }
- //FIM Sistema de Cofre ORG
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment