Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)||PlayerToPoint(2, playerid,255.3,77.4,1003.6) || PlayerToPoint(2,playerid,-1616.1294,681.1594,7.1875) || PlayerToPoint(2,playerid,230.1107,165.2237,1003.0234) || PlayerToPoint(2, playerid,240.7396,112.9709,1003.2188) || PlayerToPoint(2, playerid,1530.5187,-1702.5320,6.2252) || PlayerToPoint(2, playerid,302.7606,-1529.7537,24.9219) || PlayerToPoint(2, playerid,-1345.8823,492.5301,11.2027)
- || PlayerToPoint(2, playerid,326.4911,307.0710,999.1484) || PlayerToPoint(2, playerid,913.1017,-1235.3335,17.2109) || PlayerToPoint(2, playerid,1080.5125,-1748.9736,13.7097) || 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 500);
- GivePlayerWeapon(playerid, 24, 500);
- GivePlayerWeapon(playerid, 3, 0);
- GivePlayerWeapon(playerid, 31, 300);
- GivePlayerWeapon(playerid, 29, 300);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 34, 100);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 500);
- GivePlayerWeapon(playerid, 24, 500);
- GivePlayerWeapon(playerid, 3, 0);
- GivePlayerWeapon(playerid, 31, 600);
- GivePlayerWeapon(playerid, 29, 600);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 34, 100);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 500);
- GivePlayerWeapon(playerid, 24, 500);
- GivePlayerWeapon(playerid, 3, 0);
- GivePlayerWeapon(playerid, 31, 600);
- GivePlayerWeapon(playerid, 29, 600);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 34, 100);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- GivePlayerWeapon(playerid, 34, 100);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- GivePlayerWeapon(playerid, 34, 100);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 190);
- GivePlayerWeapon(playerid, 24, 150);
- GivePlayerWeapon(playerid, 29, 450);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 41, 300);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- GivePlayerWeapon(playerid, 41, 400);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 140);
- GivePlayerWeapon(playerid, 24, 170);
- GivePlayerWeapon(playerid, 29, 510);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 34, 80);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 41, 500);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 190);
- GivePlayerWeapon(playerid, 24, 150);
- GivePlayerWeapon(playerid, 29, 450);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 41, 300);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- GivePlayerWeapon(playerid, 41, 300);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 140);
- GivePlayerWeapon(playerid, 24, 170);
- GivePlayerWeapon(playerid, 29, 510);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 34, 80);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 41, 400);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 190);
- GivePlayerWeapon(playerid, 24, 150);
- GivePlayerWeapon(playerid, 29, 450);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 41, 300);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- GivePlayerWeapon(playerid, 41, 300);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 140);
- GivePlayerWeapon(playerid, 24, 170);
- GivePlayerWeapon(playerid, 29, 510);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 34, 80);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 41, 300);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 190);
- GivePlayerWeapon(playerid, 24, 150);
- GivePlayerWeapon(playerid, 29, 450);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 41, 300);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- GivePlayerWeapon(playerid, 41, 300);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 140);
- GivePlayerWeapon(playerid, 24, 170);
- GivePlayerWeapon(playerid, 29, 510);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 34, 80);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 41, 300);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 190);
- GivePlayerWeapon(playerid, 24, 150);
- GivePlayerWeapon(playerid, 29, 450);
- GivePlayerWeapon(playerid, 31, 450);
- GivePlayerWeapon(playerid, 41, 400);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- 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, 16, 2);
- GivePlayerWeapon(playerid, 41, 200);
- GivePlayerWeapon(playerid, 34, 200);
- return 1;
- }
- 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);
- ResetPlayerWeaponsEx(playerid);
- GivePlayerWeapon(playerid, 25, 140);
- GivePlayerWeapon(playerid, 24, 170);
- GivePlayerWeapon(playerid, 29, 550);
- GivePlayerWeapon(playerid, 31, 550);
- GivePlayerWeapon(playerid, 34, 80);
- GivePlayerWeapon(playerid, 16, 2);
- GivePlayerWeapon(playerid, 41, 400);
- GivePlayerWeapon(playerid, 34, 400);
- GivePlayerWeapon(playerid, 3, 0);
- return 1;
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment