pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
if((newkeys == KEY_SECONDARY_ATTACK) && (IsPlayerInAnyVehicle(playerid)))
{
RemovePlayerFromVehicle(playerid);
return 1;
}
if(newkeys & KEY_FIRE)
{
new victimid = GetClosestPlayer(playerid);
if(IsPlayerConnected(victimid))
{
if(ContinueTaser[playerid] == 1)
{
TogglePlayerControllable(victimid, 0);
ContinueTaser[playerid] = 1;
SendClientMessage(playerid, WHITE, "Vocк usou o taser novamente!");
SendClientMessage(victimid, WHITE, "Vocк recebeu um disparo de Taser!");
ApplyAnimation(victimid,"PED","KO_skid_front",4.1,0,1,1,1,0);
ApplyAnimation(victimid,"PED","KO_skid_front",4.1,0,1,1,1,0);
SetTimerEx("TaserTime", TASER_TEMPO, 0, "d", victimid);
SetTimerEx("StopTaser", TASER_TEMPO, 0, "d", playerid);
}
}
return 1;
}
if(newkeys & KEY_FIRE && newkeys & KEY_HANDBRAKE)
{
if(RecentlyShot[playerid] == 0)
{
RecentlyShot[playerid] = 1;
SetTimerEx("AntiSpam", 1000, false, "d", playerid);
if(GetPlayerWeapon(playerid) == 34)
{
new Float:blahx, Float:blahy, Float:blahz;
HeadshotCheck(playerid, blahx, blahy, blahz);
return 1;
}
return 1;
}
return 1;
}
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
if(PlayerToPoint(2.0,playerid,268.2108,77.4440,1001.0391) || PlayerToPoint(2.0,playerid,225.9554,114.1761,999.0156) || PlayerToPoint(2.0,playerid,195.4466,158.4840,1003.0234) || PlayerToPoint(2.0,playerid,197.2001,179.2701,1003.0234) || PlayerToPoint(2.0,playerid,321.6279,315.7460,999.1484) || PlayerToPoint(2.0,playerid,709.5348,-568.6559,-6.1966))
{
if(PlayerInfo[playerid][pEmprego] != 2)
{
SendClientMessage(playerid, COLOR_GRAD2, "Vocк nгo й advogado !");
return 1;
}
if(Advogando == char)
{
SendClientMessage(playerid, COLOR_GRAD2, "[BUL] Alguйm jб estб soltando presos !");
return 1;
}
new string[100];
format(Cidadao, sizeof(Cidadao),"");
format(PresoNome1, sizeof(PresoNome1),"");
format(PresoNome2, sizeof(PresoNome2),"");
format(PresoNome3, sizeof(PresoNome3),"");
format(PresoNome4, sizeof(PresoNome4),"");
format(PresoNome5, sizeof(PresoNome5),"");
format(PresoNome6, sizeof(PresoNome6),"");
format(PresoNome7, sizeof(PresoNome7),"");
format(PresoNome8, sizeof(PresoNome8),"");
format(PresoNome9, sizeof(PresoNome9),"");
format(PresoNome10, sizeof(PresoNome10),"");
PenaEscolhida = void; Diminuir = void; PrecoAdvogado = void; Advogando = void; Presidiarios = void; Ownado = void; SoltandoPreso = void;
for(new x = 0; x < MAX_PLAYERS; x++){if(PlayerInfo[x][pJailed] > 0 && PlayerInfo[x][pJailed] != 1337){Presidiarios ++;}}
for(new w = 0; w < MAX_PLAYERS; w++)
{
if(PlayerInfo[w][pJailed] > 0 && PlayerInfo[w][pJailed] != 1337)
{
Ownado++;
if(Ownado == 1){PresoID1 = w;format(PresoNome1, sizeof(PresoNome1), GetName(w));}
else if(Ownado == 2){PresoID2 = w;format(PresoNome2, sizeof(PresoNome2), GetName(w));}
else if(Ownado == 3){PresoID3 = w;format(PresoNome3, sizeof(PresoNome3), GetName(w));}
else if(Ownado == 4){PresoID4 = w;format(PresoNome4, sizeof(PresoNome4), GetName(w));}
else if(Ownado == 5){PresoID5 = w;format(PresoNome5, sizeof(PresoNome5), GetName(w));}
else if(Ownado == 6){PresoID6 = w;format(PresoNome6, sizeof(PresoNome6), GetName(w));}
else if(Ownado == 7){PresoID7 = w;format(PresoNome7, sizeof(PresoNome7), GetName(w));}
else if(Ownado == 8){PresoID8 = w;format(PresoNome8, sizeof(PresoNome8), GetName(w));}
else if(Ownado == 9){PresoID9 = w;format(PresoNome9, sizeof(PresoNome9), GetName(w));}
else if(Ownado == 10){PresoID10 = w;format(PresoNome10, sizeof(PresoNome10), GetName(w));}
}
}
Advogando = char;
if(Presidiarios == 0)
{
SendClientMessage(playerid, COLOR_GRAD2, "[BUL] Nгo hб ninguйm que possa ser solto !");
Advogando = void;
Ownado = void;
return 1;
}
else if(Presidiarios == 1)
{
format(string, sizeof(string), "%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1));
}
else if(Presidiarios == 2)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2, GetTempo(2));
}
else if(Presidiarios == 3)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2, GetTempo(2), PresoNome3, PresoID3, GetTempo(3));
}
else if(Presidiarios == 4)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2,
GetTempo(2), PresoNome3, PresoID3, GetTempo(3), PresoNome4, PresoID4, GetTempo(4));
}
else if(Presidiarios == 5)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2,
GetTempo(2), PresoNome3, PresoID3, GetTempo(3), PresoNome4, PresoID4,
PresoNome5, PresoID5, GetTempo(5));
}
else if(Presidiarios == 6)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2,
GetTempo(2), PresoNome3, PresoID3, GetTempo(3), PresoNome4, PresoID4,
PresoNome5, PresoID5, GetTempo(5), PresoNome6, PresoID6, GetTempo(6));
}
else if(Presidiarios == 7)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2,
GetTempo(2), PresoNome3, PresoID3, GetTempo(3), PresoNome4, PresoID4,
PresoNome5, PresoID5, GetTempo(5), PresoNome6, PresoID6, GetTempo(6),
PresoNome7, PresoID7, GetTempo(7));
}
else if(Presidiarios == 8)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2,
GetTempo(2), PresoNome3, PresoID3, GetTempo(3), PresoNome4, PresoID4,
PresoNome5, PresoID5, GetTempo(5), PresoNome6, PresoID6, GetTempo(6),
PresoNome7, PresoID7, GetTempo(7), PresoNome8, PresoID8, GetTempo(8));
}
else if(Presidiarios == 9)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2,
GetTempo(2), PresoNome3, PresoID3, GetTempo(3), PresoNome4, PresoID4,
PresoNome5, PresoID5, GetTempo(5), PresoNome6, PresoID6, GetTempo(6),
PresoNome7, PresoID7, GetTempo(7), PresoNome8, PresoID8, GetTempo(8),
PresoNome9, PresoID9, GetTempo(9));
}
else if(Presidiarios == 10)
{
format(string, sizeof(string), "%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s\n%s [ID %d] %s",
PresoNome1, PresoID1, GetTempo(1), PresoNome2, PresoID2,
GetTempo(2), PresoNome3, PresoID3, GetTempo(3), PresoNome4, PresoID4,
PresoNome5, PresoID5, GetTempo(5), PresoNome6, PresoID6, GetTempo(6),
PresoNome7, PresoID7, GetTempo(7), PresoNome8, PresoID8, GetTempo(8),
PresoNome9, PresoID9, GetTempo(9), PresoNome10, PresoID10, GetTempo(10));
}
ShowPlayerDialog(playerid, DIALOG_ADVOGADO,DIALOG_STYLE_LIST,"Lista Atual de Presos",string,"Soltar", "Cancelar");
}
}
if((newkeys == KEY_SECONDARY_ATTACK))
{
if(PlayerToPoint(1.0,playerid,247.8818,71.5204,1003.6406))
{
ApplyAnimation(playerid, "HEIST9","Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
SetTimerEx("LimparAnim", 2000, false, "i", playerid);
OnPlayerCommandText(playerid,"/pp");
}
if(PlayerToPoint(1.0,playerid,249.0358,74.6236,1003.6406) || PlayerToPoint(1.0,playerid,247.4305,77.2490,1003.6406))
{
ApplyAnimation(playerid, "HEIST9","Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
SetTimerEx("LimparAnim", 2000, false, "i", playerid);
OnPlayerCommandText(playerid,"/pv");
}
if(PlayerToPoint(1.0,playerid,249.9555,64.5031,1003.6406) || PlayerToPoint(1.0,playerid,251.3744,64.5719,1003.6406))
{
ApplyAnimation(playerid, "HEIST9","Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
SetTimerEx("LimparAnim", 2000, false, "i", playerid);
OnPlayerCommandText(playerid,"/pr");
}
if(PlayerToPoint(1.0,playerid,925.3904,-1210.9376,16.9796) || PlayerToPoint(1.0,playerid,921.4904,-1211.2009,16.9832)) //
{
ApplyAnimation(playerid, "HEIST9","Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
SetTimerEx("LimparAnim", 2000, false, "i", playerid);
OnPlayerCommandText(playerid,"/ptpc");
}
if(PlayerToPoint(1.0,playerid,245.3586,73.8210,1003.6406))
{
ApplyAnimation(playerid, "HEIST9","Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
SetTimerEx("LimparAnim", 2000, false, "i", playerid);
OnPlayerCommandText(playerid,"/pppresos");
}
if(PlayerToPoint(1.0,playerid,923.5170, -1209.0148, 18.7499))
{
ApplyAnimation(playerid, "HEIST9","Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
SetTimerEx("LimparAnim", 2000, false, "i", playerid);
OnPlayerCommandText(playerid,"/pc");
}
if(PlayerToPoint(1.0,playerid,925.3904,-1210.9376,16.9796) || PlayerToPoint(1.0,playerid,921.4904,-1211.2009,16.9832)) //
{
ApplyAnimation(playerid, "HEIST9","Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
SetTimerEx("LimparAnim", 2000, false, "i", playerid);
OnPlayerCommandText(playerid,"/ptpc");
}
}
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
OnPlayerCommandText(playerid,"/entrar");
OnPlayerCommandText(playerid,"/sair");
OnPlayerCommandText(playerid,"/banco");
if(PlayerToPoint(3,playerid,326.6374,307.1123,999.1484) || PlayerToPoint(3,playerid,302.7936,-1529.9443,24.9219) || PlayerToPoint(3,playerid,240.6516,112.8062,1003.2188) || PlayerToPoint(3,playerid,255.1123,77.4241,1003.6406) || PlayerToPoint(3,playerid,229.8059,164.7830,1003.0234)
|| PlayerToPoint(3,playerid,-1345.8823,492.5301,11.2027) || PlayerToPoint(3,playerid,712.7550,-554.5677,-3.5950) || PlayerToPoint(3,playerid,712.7550,-554.5677,-3.5950) || PlayerToPoint(3,playerid,-1618.1636,687.2289,7.1875))
{
OnPlayerCommandText(playerid,"/batercartao");
}
if (InAFoodPlace[playerid] != 0)
{
if(PlayerToPoint(1.5,playerid,368.9714,-6.2486,1001.8516))
{
ShowPlayerDialog(playerid, 28, DIALOG_STYLE_LIST, "Cluckin' Bell", "Coraзгo no Espeto R$2\nCarne de Vaca R$4\nCarne de Jacarй R$5\nCarne de Frango R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
SetPlayerPos(playerid,368.9714,-6.2486,1001.8516);
SetPlayerFacingAngle(playerid, 357.0132);
}
if(PlayerToPoint(1.5,playerid,376.8571,-67.6620,1001.5151) || PlayerToPoint(1.5,playerid,683.9015,-456.7076,-25.6099))
{
ShowPlayerDialog(playerid, 29, DIALOG_STYLE_LIST, "Burger Shot", "X-Baycon R$2\nX-Tudo R$4\nX-Especial R$5\nX-Frango R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
SetPlayerPos(playerid,376.8571,-67.6620,1001.5151);
SetPlayerFacingAngle(playerid, 357.0132);
}
if(PlayerToPoint(1.5,playerid,375.6895,-118.9683,1001.4995))
{
ShowPlayerDialog(playerid, 30, DIALOG_STYLE_LIST, "Well Stacked Pizza", "Presunto e Mussarela - Pequena R$2\nPresunto e Mussarela - Grande R$4\nFrango e Azeitona R$5\nBacon e Chocolate R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
SetPlayerPos(playerid,375.6895,-118.9683,1001.4995);
SetPlayerFacingAngle(playerid, 357.0132);
}
if(PlayerToPoint(1.5,playerid,379.0611,-186.6032,1000.6328))
{
ShowPlayerDialog(playerid, 31, DIALOG_STYLE_LIST, "Jim's sticky ring", "Rosquinha Pequena R$2\nRosquinha Normal R$4\nRosquinha de Chefe R$5\nSuper Rosquinha R$4\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
SetPlayerPos(playerid,379.0611,-186.6032,1000.6328);
SetPlayerFacingAngle(playerid, 280);
}
SetCameraBehindPlayer(playerid);
}
if (PlayerToPoint(2, playerid, 361.8300,173.5202,1008.3828))
{
OnPlayerCommandText(playerid,"/empregos");
}
if (PlayerToPoint(2, playerid, 359.5626,177.2621,1008.3828))
{
OnPlayerCommandText(playerid,"/licencas");
}
if (PlayerToPoint(2.0, playerid, -26.8819,-89.6936,1003.5469) || PlayerToPoint(2.0, playerid, -22.2540,-55.6456,1003.5469)
|| PlayerToPoint(2.0, playerid, -22.3265,-138.4765,1003.5469) || PlayerToPoint(2.0, playerid, -30.3140,-28.3121,1003.5573)
|| PlayerToPoint(2.0, playerid, 1128.7734,-1651.9916,18.6182))
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Mercado 24/7", "Celular - R$100\nAgenda - R$2\nDado - R$2\nCamisinha - R$2\nCD-Player - R$2\nFrango - R$10\nHamburguer - R$10\nPizza - R$10", "Confirmar", "Cancelar");
}
if (PlayerToPoint(2.0, playerid, 312.1259,-166.1339,999.6010) || PlayerToPoint(2.0, playerid, 295.7041,-80.3617,1001.5156))
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Loja de Armas", "Kit Vip\nEagle\nMP5\nShotgun\nAk-47\nM4\nRifle", "Confirmar", "Cancelar");
}
if(IsPlayerInRangeOfPoint(playerid, 2.0, 768.2192,-3.9873,1000.7203))
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, DIALOGID2, DIALOG_STYLE_LIST, "Estilos De Luta", "Cotoveladas\nRua\nKickBoxing\nKarate\nNormal", "confirma", "Cancela");
}
if(PlayerToPoint(2.0,playerid,-2648.0940,1396.4666,906.4609) || PlayerToPoint(2.0,playerid,675.0947,-1275.7603,13.6334))
{
if(PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12 || PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 2582, DIALOG_STYLE_LIST, "Menu Mбfia", "Equipar\nPegar Materiais\nEsconder Materiais", "Confirma", "Cancela");
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um mafioso");
}
}
if (PlayerToPoint(2.0, playerid, 1524.4977,-1677.9469,6.2188) || PlayerToPoint(2.0, playerid, 1565.1235,-1666.9944,28.3956) || PlayerToPoint(2.0, playerid, 246.2975,87.4735,1003.6406))
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 2585, DIALOG_STYLE_LIST, "Elevador Policial", "Garagem\nDepartamento", "Confirma", "Cancela");
}
if(PlayerToPoint(1, playerid, 1531.4355,-1692.0564,6.2252) || PlayerToPoint(1, playerid, 238.2739,108.0566,1003.2257) || PlayerToPoint(1, playerid, -1341.1760,500.5289,11.1953)
|| PlayerToPoint(1, playerid, -43.7568,-273.6649,6.6319) || PlayerToPoint(1, playerid, 208.8036,145.8378,1003.0234) || PlayerToPoint(1, playerid, 608.6080,-592.8043,17.2330) || PlayerToPoint(1, playerid, -1593.5424,716.1115,-5.2422))
{
if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else if(PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um policial !"); }
}
if(PlayerToPoint(1, playerid, -2279.0664,2286.4050,4.9650))
{
if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й do Guerrilheiros Israelitas !"); }
}
if(PlayerToPoint(1, playerid, 400.0611,2539.5366,16.5448))
{
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й da F.A.R.C !"); }
}
if(PlayerToPoint(1, playerid, 2811.7102,-1166.1824,1025.5703))
{
if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й dos Aztecas !"); }
}
if(PlayerToPoint(1, playerid, 2514.1301,-1691.2979,14.0460))
{
if(PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й da Groove Street !"); }
}
if(PlayerToPoint(1, playerid, 1074.7671,-1204.1219,18.1446))
{
if(PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й dos Ballas !"); }
}
if(PlayerToPoint(1, playerid, 296.2728,1489.4459,1080.2578))
{
if(PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й dos Vagos !"); }
}
if(PlayerToPoint(1, playerid, 2151.3218,-1789.1669,13.5097))
{
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й dos Comando Vermelho !"); }
}
if(PlayerToPoint(1, playerid, 681.3650,-445.1725,16.3359))
{
if(PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo faz parte dos Sons of Anarchy !"); }
}
if(PlayerToPoint(1, playerid, 2768.6760,-1626.2833,10.9272))
{
if(PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo faz parte dos Drifters !"); }
}
if(PlayerToPoint(1, playerid, 1304.8378,-866.4293,39.5781))
{
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo faz parte dos PCC !"); }
}
if(PlayerToPoint(1, playerid, 2041.6974,-1430.1006,17.1641))
{
if(PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um Mйdico !"); }
}
if(PlayerToPoint(1, playerid, -1678.0742,1353.1334,7.1722))
{
if(PlayerInfo[playerid][pMembro] == 22 || PlayerInfo[playerid][pLider] == 22)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um Triad !"); }
}
if(PlayerToPoint(1, playerid, 356.3957,152.4393,1025.7891))
{
if(PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um Servidor Pъblico !"); }
}
if(PlayerToPoint(1, playerid, 1106.2151,-303.7052,73.9922))
{
if(PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um Hitman !"); }
}
if(PlayerToPoint(1, playerid, 752.1580,-1358.9927,13.5000))
{
if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um Repуrter !"); }
}
if(PlayerToPoint(1, playerid, 1797.1150,-1704.7645,13.5278))
{
if(PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um Taxista !"); }
}
if(PlayerToPoint(1, playerid, -2634.2791,1409.7692,906.4647))
{
if(PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й da Cosa Nostra !"); }
}
if(PlayerToPoint(1, playerid, -2167.5757,644.8060,1057.7687))
{
if(PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Info HQ", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
}
else
{ SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й da Yakuza !"); }
}
}
if((newkeys == KEY_HORN) && (IsPlayerInAnyVehicle(playerid)))
{
if(gTeam[playerid] == 2 || IsACop(playerid) || IsAGOV(playerid))
{
OnPlayerCommandText(playerid,"/pe");
OnPlayerCommandText(playerid,"/pe2");
OnPlayerCommandText(playerid,"/pg");
OnPlayerCommandText(playerid,"/abrirgn");
OnPlayerCommandText(playerid,"/pc");
OnPlayerCommandText(playerid,"/pb");
OnPlayerCommandText(playerid,"/pce");
OnPlayerCommandText(playerid,"/pcg");
OnPlayerCommandText(playerid,"/ppc");
OnPlayerCommandText(playerid,"/pint");
OnPlayerCommandText(playerid,"/pint2");
OnPlayerCommandText(playerid,"/pint3");
OnPlayerCommandText(playerid,"/ppf");
}
if(IsAGOV(playerid))
{
OnPlayerCommandText(playerid,"/pgov");
}
if(IsAJornal(playerid))
{
OnPlayerCommandText(playerid,"/portaoreporter");
}
if(IsATaxi(playerid))
{
OnPlayerCommandText(playerid,"/ptaxi");
}
if(PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)
{
OnPlayerCommandText(playerid,"/pyakuza");
}
if(PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12)
{
OnPlayerCommandText(playerid,"/acn");
}
}
return true;
}