Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock ProxTutor(playerid)
- {
- if(Tuto[playerid] == 1)
- {
- if(ProxTuto[playerid] <= 14)
- {
- ProxTuto[playerid]++;
- if(ProxTuto[playerid] == 2)
- {
- InterpolateCameraPos(playerid, -2535.5281, 1302.9382, 78.0744, 1467.5775, -1704.7527, 35.5777, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, -2536.0571, 1303.7841, 77.8044, 1467.9097, -1705.6945, 35.1927, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Prefeitura");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Se voce tiver casa ou empresa, vai vim com frequencia aqui.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Para pagar seus impostos e ate mesmo pra limpa as estrelas");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "de procurado, toda segunda feira 05:00 horas da manha");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "sua casa ou empresa tera impostos mesmo se voce estiver");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "offline, se nao pagar os impostos em 15 dias sua casa e/ou");
- PlayerTextDrawSetString(playerid, TutorialTD[7], "empresa seram liberadas automaticamente para outro comprar.");
- for(new i=0;i<8;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 3)
- {
- InterpolateCameraPos(playerid, 1467.5775, -1704.7527, 35.5777, 1172.0989, -1718.3392, 29.2099, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1467.9097, -1705.6945, 35.1927, 1171.7074, -1719.2583, 28.7799, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Agencia de Empregos");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce encontrara varios tipos de profissoes.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Cada profissao exige um determinado level, para saber");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "sobre seu level degite '/verlevel' ou pressione a tecla TAB.");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "Toda profissao recebe um salario fixo e algumas um salario");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "extra por entregas,vendas e etc...");
- PlayerTextDrawSetString(playerid, TutorialTD[7], "Voce podera ver comandos e informacoes da sua profissao atual");
- PlayerTextDrawSetString(playerid, TutorialTD[8], "digitando o comando '/profissao'.");
- for(new i=0;i<9;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 4)
- {
- InterpolateCameraPos(playerid, 1172.0989, -1718.3392, 29.2099, 620.9050, -1194.5110, 37.6850, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1171.7074, -1719.2583, 28.7799, 620.5063, -1195.4253, 37.3150, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Agencia Bancaria");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera sacar, depositar ver o saldo da sua conta");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "e ate mesmo apostar na loteria, existe tambem varios caixas");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "eletronicos espalhados pela cidade.");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "Somente em agencias bancarias que pode efetuar depositos,");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "caixas eletronicos so podem sacar e ver o saldo em conta.");
- for(new i=0;i<7;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[7]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 5)
- {
- InterpolateCameraPos(playerid, 620.9050, -1194.5110, 37.6850, -2014.1575, -56.9598, 41.8121, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 620.5063, -1195.4253, 37.3150, -2014.4818, -57.9037, 41.5671, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Auto Escola");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera tirar as habilitacoes.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Ao entrar na auto escola va ate o circulo vermelho e");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "digite '/habilitacao' e selecione com espaco a");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "habilitacao de sua escola, ao seleciona voce ira comecar");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "a prova, pressione 2(ARROBA) e siga os checkpoints marcados");
- PlayerTextDrawSetString(playerid, TutorialTD[7], "no radar em vermelho.");
- for(new i=0;i<8;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 6)
- {
- InterpolateCameraPos(playerid, -2014.1575, -56.9598, 41.8121, 1811.9561, -1838.6030, 20.6429, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, -2014.4818, -57.9037, 41.5671, 1812.9308, -1838.8246, 20.2229, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Loja de Utilitarios");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera comprar varios tipos de acessorios.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Temos em nossa loja Celular, MP3, Relogio UP, GPS,");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "Velocimetro, Jetpack e muitos outros itens para voce.");
- for(new i=0;i<5;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[5]);
- PlayerTextDrawHide(playerid, TutorialTD[6]);
- PlayerTextDrawHide(playerid, TutorialTD[7]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 7)
- {
- InterpolateCameraPos(playerid, 1811.9561, -1838.6030, 20.6429, 2239.9841, -1640.0480, 23.4485, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1812.9308, -1838.8246, 20.2229, 2240.1602, -1641.0309, 23.0335, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Binco Roupa/Skin");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera mudar sua roupa/skin.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "ao digitar '/skin' ira abri uma lista de skin disponiveis,");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "temos varias lojas de roupa/skin espalhadas pela cidade.");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "Portanto tera que ir nas lojas de skin para seleciona uma");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "skin de sua escolha.");
- for(new i=0;i<7;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[7]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 8)
- {
- InterpolateCameraPos(playerid, 2239.9841, -1640.0480, 23.4485, 2201.1802, -1177.4904, 81.8449, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 2240.1602, -1641.0309, 23.0335, 2201.0530, -1176.4994, 81.4099, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Favela");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui e a area de DM (Death Match).");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Local de DM liberado portanto podera matar sem ir preso,");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "tera uma pontuacao de (Matou/Morreu).");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "Ao entrar na favela procurado pela policia voce nao ira");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "receber armas, lembrando tambem que voce pode ser preso");
- PlayerTextDrawSetString(playerid, TutorialTD[7], "aqui na favela.");
- for(new i=0;i<8;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 9)
- {
- InterpolateCameraPos(playerid, 2201.1802, -1177.4904, 81.8449, 1506.8306, -1658.0305, 30.7537, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 2201.0530, -1176.4994, 81.4099, 1507.7271, -1658.4706, 30.2937, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], "Departamento de Policia");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera ver todos os jogadores que estiverem");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "procurados e presos, podera tambem pagar fiancas e");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "comprar porte de armas.");
- for(new i=0;i<5;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[5]);
- PlayerTextDrawHide(playerid, TutorialTD[6]);
- PlayerTextDrawHide(playerid, TutorialTD[7]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 10)
- {
- InterpolateCameraPos(playerid, 1506.8306, -1658.0305, 30.7537, 1330.3729, -1280.6512, 27.7650, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1507.7271, -1658.4706, 30.2937, 1331.3722, -1280.6666, 27.4200, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Ammu Nation");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera adquirir varios tipos de armas.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Podera tambem comprar colete, lembrando as armas nao ficam");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "salvas na conta, portanto se sair do servidor ou for preso");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "e ate mesmo morre ira perde-las.");
- for(new i=0;i<6;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[6]);
- PlayerTextDrawHide(playerid, TutorialTD[7]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 11)
- {
- InterpolateCameraPos(playerid, 1330.3729, -1280.6512, 27.7650, 1972.2706, -1754.9375, 21.6366, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1331.3722, -1280.6666, 27.4200, 1971.3604, -1755.3492, 21.3466, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Posto de Gasolina");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera abastecer seu veiculo.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Cada veiculo e um tipo de combustivel, nos postos tera");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "disponivel (Gasolina, Etanol, Diesel e Gas) para abastecer um");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "veiculo aereo com (AvGas) deve ir ate um aeroporto, todos os");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "combustiveis ficam salvos na conta do jogador e nao nos");
- PlayerTextDrawSetString(playerid, TutorialTD[7], "veiculos, caso nao tenha combustivel na sua conta voce nao");
- PlayerTextDrawSetString(playerid, TutorialTD[8], "podera utilizar o veiculo.");
- for(new i=0;i<9;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 12)
- {
- InterpolateCameraPos(playerid, 1972.2706, -1754.9375, 21.6366, 2202.0000, -1745.0768, 19.4866, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1971.3604, -1755.3492, 21.3466, 2202.7444, -1744.4092, 19.1917, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Academia");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera aprender varios tipos de lutas.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Ao seleciona uma luta voce tera uma taxa de $20 por salario,");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "para lutar voce deve ficar clicado com o botao 'direito' do");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "mouse e fica apertando 'enter' para realizar os golpes.");
- for(new i=0;i<6;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[6]);
- PlayerTextDrawHide(playerid, TutorialTD[7]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[0]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 13)
- {
- InterpolateCameraPos(playerid, 2202.0000, -1745.0768, 19.4866, -2020.3387, 230.2192, 41.0042, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 2202.7444, -1744.4092, 19.1917, -2019.6110, 230.9038, 40.8742, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Concessionaria");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera comprar um veiculo de sua escolha.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Cada veiculo tem um valor fixo e justo, voce podera salvar o");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "veiculo em estacionamentos, mudar a pintura e ate mesmo");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "localizar caso perca.");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "Mais cuidado aonde estacionar, pois se estiver em local");
- PlayerTextDrawSetString(playerid, TutorialTD[7], "incorreto podera perde-lo.");
- for(new i=0;i<8;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- if(ProxTuto[playerid] == 14)
- {
- InterpolateCameraPos(playerid, -2020.3387, 230.2192, 41.0042, 1191.1969, 1396.6041, 19.2186, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, -2019.6110, 230.9038, 40.8742, 1190.5964, 1395.8059, 18.8186, 5000, CAMERA_MOVE);
- PlayerTextDrawSetString(playerid, TutorialTD[1], " Detran");
- PlayerTextDrawSetString(playerid, TutorialTD[2], "Aqui voce podera pagar suas multas.");
- PlayerTextDrawSetString(playerid, TutorialTD[3], "Cada multa tem um valor de $192 UFIR, se nao pagar suas");
- PlayerTextDrawSetString(playerid, TutorialTD[4], "multas ao receber um total de 6 multas, perdera habilitacao");
- PlayerTextDrawSetString(playerid, TutorialTD[5], "e recebera uma multa de $6000 que e retirado de sua conta");
- PlayerTextDrawSetString(playerid, TutorialTD[6], "bancaria.");
- PlayerTextDrawSetString(playerid, TutorialTD[7], "Aqui voce podera tambem podera pagar o IPVA do seu veiculo.");
- for(new i=0;i<8;++i) PlayerTextDrawShow(playerid, TutorialTD[i]);
- PlayerTextDrawHide(playerid, TutorialTD[8]);
- PlayerTextDrawHide(playerid, TutorialTD[9]);
- PlayerTextDrawHide(playerid, TutorialTD[10]);
- PodePular[playerid] = 0;
- SetTimerEx_("PularTuto", 20000, 20000, 1, "d", playerid);
- return 1;
- }
- }
- else
- {
- for(new i=0;i<11;++i) PlayerTextDrawHide(playerid, TutorialTD[i]);
- new query[200];
- format(query, sizeof(query), "INSERT INTO tutorial (nick) VALUES('%s')",
- Nome(playerid));
- mysql_query(Conexao, query);
- Tuto[playerid] = 0;
- ProxTuto[playerid] = 0;
- PodePular[playerid] = 0;
- TogglePlayerSpectating(playerid, 0);
- return 1;
- }
- }
- else
- {
- for(new i=0;i<11;++i) PlayerTextDrawHide(playerid, TutorialTD[i]);
- Tuto[playerid] = 0;
- ProxTuto[playerid] = 0;
- PodePular[playerid] = 0;
- TogglePlayerSpectating(playerid, 0);
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement