Olha dei uma olhava vi umas returns que pra mim acho qeu faziam o seguinte lia o primeiro caso no foc ao primeiro a funзгo noa seguia
pawn Код:
if(strcmp(cmd, "/equipar", true) == 0)
{
if(PlayerInfo[playerid][pJailed] != 0)
{
SendClientMessage(playerid,COLOR_GREY," Vocк nгo pode equipar na cadeia!");
return 1;
}
if (IsACop(playerid))
{
new tmpcar = GetPlayerVehicleID(playerid);
GetPlayerName(playerid, sendername, MAX_PLAYER_NAME);
if(IsAEnforcerCar(tmpcar) || Tonolocal(playerid)|| HouseEntered[playerid] != 255)
{
ResetPlayerWeaponsEx(playerid);
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
if (PlayerInfo[playerid][pLider] == 1)
{
format(string, sizeof(string), "* Policial Militar %s pega seus equipamentos de lнder.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 500);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 34, 100);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pLider] == 2)
{
format(string, sizeof(string), "* Policial %s pega seus equipamentos de lнder.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 500);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 600);
GivePlayerWeapon(playerid, 29, 600);
GivePlayerWeapon(playerid, 41, 600);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 34, 100);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pLider] == 3)
{
format(string, sizeof(string), "* Exйrcito %s pega seus equipamentos de lнder.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 500);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 600);
GivePlayerWeapon(playerid, 29, 600);
GivePlayerWeapon(playerid, 41, 600);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 34, 100);
GivePlayerWeapon(playerid, 42, 4999);
}
if (PlayerInfo[playerid][pLider] == 16)
{
format(string, sizeof(string), "* Policial Civil %s pega seus equipamentos de lнder.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 500);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 600);
GivePlayerWeapon(playerid, 29, 600);
GivePlayerWeapon(playerid, 41, 600);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 34, 100);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pLider] == 11)
{
format(string, sizeof(string), "* Policial Federal %s pega seus equipamentos de lнder.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 500);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 600);
GivePlayerWeapon(playerid, 29, 600);
GivePlayerWeapon(playerid, 41, 600);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 34, 100);
GivePlayerWeapon(playerid, 42, 4999);
}
if (PlayerInfo[playerid][pMembro] == 1) // Policia Militar
{
if (PlayerInfo[playerid][pCargo] == 1)
{
format(string, sizeof(string), "* Policial Militar %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 80);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 42, 4999);
}
if (PlayerInfo[playerid][pCargo] == 2)
{
format(string, sizeof(string), "* Policial Militar %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 20);
GivePlayerWeapon(playerid, 42, 4999);
}
if (PlayerInfo[playerid][pCargo] == 3)
{
format(string, sizeof(string), "* Policial Militar %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 190);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 29, 450);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 30);
GivePlayerWeapon(playerid, 42, 4999);
GivePlayerWeapon(playerid, 3, 0);
}
if (PlayerInfo[playerid][pCargo] == 4)
{
format(string, sizeof(string), "* Policial Militar %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 120);
GivePlayerWeapon(playerid, 24, 360);
GivePlayerWeapon(playerid, 29, 490);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 400);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 17, 40);
GivePlayerWeapon(playerid, 41, 400);
GivePlayerWeapon(playerid, 42, 4999);
}
if (PlayerInfo[playerid][pCargo] == 5)
{
format(string, sizeof(string), "* Policial Militar %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 140);
GivePlayerWeapon(playerid, 24, 170);
GivePlayerWeapon(playerid, 29, 510);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 34, 80);
GivePlayerWeapon(playerid, 17, 50);
GivePlayerWeapon(playerid, 41, 500);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 42, 4999);
}
}
if(PlayerInfo[playerid][pMembro] == 2)//B.O.P.E
{
if(PlayerInfo[playerid][pCargo] == 1)
{
format(string, sizeof(string), "* Policial %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 80);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 2)
{
format(string, sizeof(string), "* Policial %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 20);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 3)
{
format(string, sizeof(string), "* Policial %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 190);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 29, 450);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 30);
GivePlayerWeapon(playerid, 42, 4999);
GivePlayerWeapon(playerid, 3, 0);
}
if(PlayerInfo[playerid][pCargo] == 4)
{
format(string, sizeof(string), "* Policial %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 120);
GivePlayerWeapon(playerid, 24, 360);
GivePlayerWeapon(playerid, 29, 490);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 400);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 17, 40);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 5)
{
format(string, sizeof(string), "* Policial %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 140);
GivePlayerWeapon(playerid, 24, 170);
GivePlayerWeapon(playerid, 29, 510);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 34, 80);
GivePlayerWeapon(playerid, 17, 50);
GivePlayerWeapon(playerid, 41, 400);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 42, 4999);
}
}
if(PlayerInfo[playerid][pMembro] == 11)//PF
{
if(PlayerInfo[playerid][pCargo] == 1)
{
format(string, sizeof(string), "* Policial Federal %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 80);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 2)
{
format(string, sizeof(string), "* Policial Federal %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 29, 400);
GivePlayerWeapon(playerid, 31, 400);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 20);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 3)
{
format(string, sizeof(string), "* Policial Federal %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 190);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 29, 450);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 30);
GivePlayerWeapon(playerid, 42, 4999);
GivePlayerWeapon(playerid, 3, 0);
}
if(PlayerInfo[playerid][pCargo] == 4)
{
format(string, sizeof(string), "* Policial Federal %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 120);
GivePlayerWeapon(playerid, 24, 360);
GivePlayerWeapon(playerid, 29, 490);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 400);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 17, 40);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 5)
{
format(string, sizeof(string), "* Policial Federal %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 140);
GivePlayerWeapon(playerid, 24, 170);
GivePlayerWeapon(playerid, 29, 510);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 34, 80);
GivePlayerWeapon(playerid, 17, 50);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 42, 4999);
}
}
if(PlayerInfo[playerid][pMembro] == 3)//Exйrcito
{
if(PlayerInfo[playerid][pCargo] == 1)
{
format(string, sizeof(string), "* Exйrcito %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 80);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 2)
{
format(string, sizeof(string), "* Exйrcito %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 31, 400);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 20);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 3)
{
format(string, sizeof(string), "* Exйrcito %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 190);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 29, 450);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 30);
GivePlayerWeapon(playerid, 42, 4999);
GivePlayerWeapon(playerid, 3, 0);
}
if(PlayerInfo[playerid][pCargo] == 4)
{
format(string, sizeof(string), "* Exйrcito %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 120);
GivePlayerWeapon(playerid, 24, 360);
GivePlayerWeapon(playerid, 29, 490);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 400);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 17, 40);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 42, 4999);
}
if(PlayerInfo[playerid][pCargo] == 5)
{
format(string, sizeof(string), "* Exйrcito %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 140);
GivePlayerWeapon(playerid, 24, 170);
GivePlayerWeapon(playerid, 29, 510);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 34, 80);
GivePlayerWeapon(playerid, 17, 50);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 42, 4999);
}
}
if(PlayerInfo[playerid][pMembro] == 16)// Policia Civil
{
if (PlayerInfo[playerid][pCargo] == 1)
{
format(string, sizeof(string), "* Policial Civil %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 80);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 29, 300);
GivePlayerWeapon(playerid, 41, 300);
GivePlayerWeapon(playerid, 17, 10);
GivePlayerWeapon(playerid, 42, 4999);
}
if (PlayerInfo[playerid][pCargo] == 2)
{
format(string, sizeof(string), "* Policial Civil %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 29, 400);
GivePlayerWeapon(playerid, 31, 400);
GivePlayerWeapon(playerid, 41, 400);
GivePlayerWeapon(playerid, 17, 20);
GivePlayerWeapon(playerid, 42, 4999);
}
if (PlayerInfo[playerid][pCargo] == 3)
{
format(string, sizeof(string), "* Policial Civil %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 190);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 29, 450);
GivePlayerWeapon(playerid, 31, 450);
GivePlayerWeapon(playerid, 41, 400);
GivePlayerWeapon(playerid, 17, 30);
GivePlayerWeapon(playerid, 42, 4999);
GivePlayerWeapon(playerid, 3, 0);
}
if (PlayerInfo[playerid][pCargo] == 4)
{
format(string, sizeof(string), "* Policial Civil %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 120);
GivePlayerWeapon(playerid, 24, 360);
GivePlayerWeapon(playerid, 29, 500);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 17, 40);
GivePlayerWeapon(playerid, 41, 200);
GivePlayerWeapon(playerid, 34, 200);
GivePlayerWeapon(playerid, 42, 4999);
}
if (PlayerInfo[playerid][pCargo] == 5)
{
format(string, sizeof(string), "* Policial Civil %s pega seus equipamentos.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GivePlayerWeapon(playerid, 25, 140);
GivePlayerWeapon(playerid, 24, 170);
GivePlayerWeapon(playerid, 29, 550);
GivePlayerWeapon(playerid, 31, 550);
GivePlayerWeapon(playerid, 34, 80);
GivePlayerWeapon(playerid, 17, 50);
GivePlayerWeapon(playerid, 41, 400);
GivePlayerWeapon(playerid, 34, 400);
GivePlayerWeapon(playerid, 3, 0);
GivePlayerWeapon(playerid, 42, 4999);
}
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк nгo estб no Vestiбrio ou em Um Enforcer.");
return 1;
}
}
else if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
{
if(Tonolocal(playerid))
{
if(PlayerInfo[playerid][pLider] == 15 || PlayerInfo[playerid][pLider] == 6)//AL'QAEDA Armas
{
format(string, sizeof(string), "* Terrorista %s Pegou Seu Equipamento Lнder de Terrorismo.", PlayerName(playerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ResetPlayerWeaponsEx(playerid);
GivePlayerWeapon(playerid, 24, 399);
GivePlayerWeapon(playerid, 30, 999);
GivePlayerWeapon(playerid, 29, 999);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 34, 199);
GivePlayerWeapon(playerid, 39, 10);
GivePlayerWeapon(playerid, 40, 1);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
}
else
{
format(string, sizeof(string), "* Terrorista %s Pegou Seu Equipamento de Terrorismo.", PlayerName(playerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ResetPlayerWeaponsEx(playerid);
GivePlayerWeapon(playerid, 24, 399);
GivePlayerWeapon(playerid, 30, 999);
GivePlayerWeapon(playerid, 29, 999);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 34, 199);
GivePlayerWeapon(playerid, 17, 2);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo estб no lugar de equipar de sua HQ.");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo possui esse comando.");
return 1;
}
return 1;
}