Код:
public OnGameModeInit()
{
getdate(v[0], v[1], v[2]);
gettime(v[3], v[4], v[5]);
print("\n---------------------------------------------------------");
printf("Server Ligado: [%02d/%02d/%d %02d:%02d:%02d]", v[2], v[1], v[0], v[3], v[4], v[5]);
print("---------------------------------------------------------\n");
// synctimer = SetTimer("SyncUp", 60000, 1);
/*minhafuncao("uvcqa");
minhafuncao("uvkqa");*/
//EnableStuntBonusForAll(false);
SetHora();
print("-----------------------------");
print("*** GM - BS4 RPG Iniciado ***");
print("-----------------------------");
//=====================================[INFOORG]================================//
LoadOrgs();
//==============================================================================//
SetTimer("GetHealthAndVerify",500,1);//sniper one shot
LoadTrunk();
AFKon = true;
LoadAdm();
SetTimer("verping",5000,1);
//SetTimer("pCount",3*60000,1);
SetTimer("CheckAFK",60000,true);// afk mode
Create3DTextLabel("Cofre do Banco\nDigite /roubar Para Roubar",COR_3DLABEL,2306.5127,-6.1166,26.7422,10.0,0);
Create3DTextLabel("Cofre da Lotйrica\nDigite /roubar Para Roubar",COR_3DLABEL,820.6042,8.3990,1004.1962,10.0,0);
Create3DTextLabel("Cofre da Loja de Armas 1\nDigite /roubar Para Roubar",COR_3DLABEL,2169.1516,1589.9265,999.9713,10.0,0);
Create3DTextLabel("Cofre da Loja de Armas 2\nDigite /roubar Para Roubar",COR_3DLABEL,451.3090,-79.8603,999.5547,10.0,0);
Create3DTextLabel("Cofre da Prefeitura\nDigite /roubar Para Roubar",COR_3DLABEL,354.6608,172.0170,1008.3802,10.0,0);
Create3DTextLabel("Ginбsio de Lutas de LS\nAperte Enter Para Mudar Luta",COR_3DLABEL,768.2192,-3.9873,1000.7203,15.0,0);
Create3DTextLabel("Departamento de Policia\nAperte Enter Para Entrar",COR_3DLABEL,1554.9537,-1675.6584,16.1953,30.0,0);
Create3DTextLabel("Lotйrica de Los Santos\nAperte Enter Para Entrar",COR_3DLABEL,1631.9160,-1172.1013,24.0781,30.0,0);
Create3DTextLabel("Agкncia de Empregos BS4\nAperte Enter Para Usar",COR_3DLABEL,361.8300,173.5202,1008.3828,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,2224.1819,-1141.8778,1025.7969,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,2232.2729,-1162.5684,25.8906,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,957.4735,-48.6141,1001.1172,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,1550.4686,-1669.6666,13.5624,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,229.6725,153.8311,1003.0234,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,241.0845,115.2740,1003.2188,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,321.4753,305.5962,999.1484,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,-1347.6376,499.9476,11.1953,15.0,0);
Create3DTextLabel("Caixa Eletrфnico\nAperte Enter Para Usar",COR_3DLABEL,1468.6473,-1767.3595,18.7958,15.0,0);
Create3DTextLabel("Banco BS4\nAperte Enter Para Usar",COR_3DLABEL,2308.7908,-13.2499,26.7422,20.0,0);
Create3DTextLabel("Mercado BS4 24/7\nAperte Enter Para Entrar",COR_3DLABEL,1833.6124,-1842.4968,13.5781,20.0,0);
Create3DTextLabel("Mercado BS4 24/7\nAperte Enter Para Entrar",COR_3DLABEL,1000.5861,-919.8832,42.3281,20.0,0);
Create3DTextLabel("Mercado BS4 24/7\nAperte Enter Para Entrar",COR_3DLABEL,1928.6006,-1776.4480,13.5469,20.0,0);
Create3DTextLabel("Mercado BS4 24/7\nAperte Enter Para Entrar",COR_3DLABEL,1315.5110,-898.9860,39.5781,20.0,0);
Create3DTextLabel("Mercado BS4 24/7\nAperte Enter Para Entrar",COR_3DLABEL,1352.3269,-1759.2491,13.5078,20.0,0);
Create3DTextLabel("Prefeitura de LS\nAperte Enter Para Entrar",COR_3DLABEL,1481.0386,-1772.3120,18.7958,40.0,0);
Create3DTextLabel("Alhambra\nAperte Enter Para Entrar",COR_3DLABEL,1837.0278,-1682.3890,13.3233,30.0,0);
Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,255.3,77.4,1003.6,3.0,0);
Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,-1616.1294,681.1594,7.1875,3.0,0);
Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,230.1107,165.2237,1003.0234,3.0,0);
Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,240.7396,112.9709,1003.2188,3.0,0);
Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,1530.5187,-1702.5320,6.2252,3.0,0);
Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,302.7606,-1529.7537,24.9219,3.0,0);
// Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,914.2933,-1235.1436,17.2109,3.0,0);
Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,-1345.8823,492.5301,11.2027,3.0,0);
Create3DTextLabel("Bater Cartгo\nAperte Enter Para Bater",COR_3DLABEL,326.4911,307.0710,999.1484,3.0,0);
Create3DTextLabel("Menu de Drogas\nAperte Enter Para Usar",COR_3DLABEL,2152.4727,-1014.0005,62.8375,20.0,0);
Create3DTextLabel("Menu de Drogas\nAperte Enter Para Usar",COR_3DLABEL,1450.4479,-2287.0803,13.5469,20.0,0);
Create3DTextLabel("Menu de Drogas\nAperte Enter Para Usar",COR_3DLABEL,1919.1384,-1415.4775,13.5703,20.0,0);
Create3DTextLabel("Menu de Drogas\nAperte Enter Para Usar",COR_3DLABEL,1123.7664,-1506.4692,15.7869,20.0,0);
Create3DTextLabel("Menu da Mafia\nAperte Enter Para Usar",COR_3DLABEL,-2648.0940,1396.4666,906.4609,20.0,0);
Create3DTextLabel("Menu da Mafia\nAperte Enter Para Usar",COR_3DLABEL,811.9582,-1100.8458,25.7857,20.0,0);
Create3DTextLabel("Menu da Mafia\nAperte Enter Para Usar",COR_3DLABEL,675.0947,-1275.7603,13.6334,20.0,0);
Create3DTextLabel("Menu da Mafia\nAperte Enter Para Usar",COR_3DLABEL,1738.6844,-1944.9553,13.5647,20.0,0);
Create3DTextLabel("Loja de Roupas Binco\nAperte Enter Para Entrar",COR_3DLABEL,2244.3423,-1665.5542,15.4766,20.0,0);
Create3DTextLabel("Loja de Roupas ZIP\nAperte Enter Para Entrar",COR_3DLABEL,461.3484,-1500.9084,31.0592,20.0,0);
Create3DTextLabel("The Pig Pen\nAperte Enter Para Entrar",COR_3DLABEL,2421.4998,-1219.2438,25.5617,20.0,0);
Create3DTextLabel("Ginбsio de Lutas de LS\nAperte Enter Para Entrar",COR_3DLABEL,2229.9011,-1721.2582,13.5613,20.0,0);
Create3DTextLabel("Burguer Shot\nAperte Enter Para Entrar",COR_3DLABEL,1200.4497,-918.7695,43.1105,20.0,0);
Create3DTextLabel("Burguer Shot\nAperte Enter Para Entrar",COR_3DLABEL,810.4855,-1616.1888,13.5469,20.0,0);
Create3DTextLabel("Cluckin Bell\nAperte Enter Para Entrar",COR_3DLABEL,927.6217,-1353.0105,13.3438,20.0,0);
Create3DTextLabel("Well Stacked Pizza\nAperte Enter Para Entrar",COR_3DLABEL,2105.4858,-1806.4725,13.5547,20.0,0);
Create3DTextLabel("BS4's Bar\nAperte Enter Para Entrar",COR_3DLABEL,975.4691,-1335.9618,13.5319,20.0,0);
Create3DTextLabel("Hotel BS4\nAperte Enter Para Entrar",COR_3DLABEL,2233.2659,-1159.8256,25.8906,20.0,0);
Create3DTextLabel("Hotel BS4\nAperte Enter Para Entrar",COR_3DLABEL,2212.6235,-1150.4385,1025.7969,20.0,0);
Create3DTextLabel("HQ Vagos\nAperte Enter Para Entrar",COR_3DLABEL,2808.1106,-1189.6528,25.3436,20.0,0);
Create3DTextLabel("HQ Yakuza\nAperte Enter Para Entrar",COR_3DLABEL,691.5710,-1276.1722,13.5607,20.0,0);
Create3DTextLabel("HQ Cosa Nostra\nAperte Enter Para Entrar",COR_3DLABEL,1497.0920,-687.8906,95.5633,20.0,0);
Create3DTextLabel("DP Policia Civil\nAperte Enter Para Entrar",COR_3DLABEL,-49.8844,-269.3635,6.6332,20.0,0);
Create3DTextLabel("DP ROTA\nAperte Enter Para Entrar",COR_3DLABEL,327.8898,-1511.8446,36.0325,20.0,0);
Create3DTextLabel("DP Policia Federal\nAperte Enter Para Entrar",COR_3DLABEL,1059.6041,-345.1531,73.9922,20.0,0);
Create3DTextLabel("HQ Ballas\nAperte Enter Para Entrar",COR_3DLABEL,1154.9366,-1180.8309,32.8187,20.0,0);
Create3DTextLabel("HQ Groove Street\nAperte Enter Para Entrar",COR_3DLABEL,2495.3481,-1691.1355,14.7656,20.0,0);
Create3DTextLabel("HQ Hitmans\nAperte Enter Para Entrar",COR_3DLABEL,2334.8550,-1044.9471,52.3582,20.0,0);
Create3DTextLabel("Equipar Al'Qaeda\nDigite /equipar Para Equipar",COR_3DLABEL,414.5280,2531.5229,19.1648,15.0,0);
Create3DTextLabel("Equipar Taliban\nDigite /equipar Para Equipar",COR_3DLABEL,2743.6855,-2453.9363,13.8623,15.0,0);
Create3DTextLabel("Menu de Compras\nAperte Enter Para Usar",COR_3DLABEL,-26.8819,-89.6936,1003.5469,15.0,0);
Create3DTextLabel("Menu de Compras\nAperte Enter Para Usar",COR_3DLABEL,-22.2540,-55.6456,1003.5469,15.0,0);
Create3DTextLabel("Menu de Compras\nAperte Enter Para Usar",COR_3DLABEL,-22.3265,-138.4765,1003.5469,15.0,0);
Create3DTextLabel("Menu de Compras\nAperte Enter Para Usar",COR_3DLABEL,-30.3140,-28.3121,1003.5573,15.0,0);
Create3DTextLabel("Elevador da DP\nAperte Enter Para Usar",COR_3DLABEL,1524.4977,-1677.9469,6.2188,8.0,0);
Create3DTextLabel("Elevador da DP\nAperte Enter Para Usar",COR_3DLABEL,1565.1235,-1666.9944,28.3956,8.0,0);
Create3DTextLabel("Elevador da DP\nAperte Enter Para Usar",COR_3DLABEL,246.2975,87.4735,1003.6406,8.0,0);
Create3DTextLabel("Menu de Comprar Licencas\nAperte Enter Para Usar",COR_3DLABEL,1490.2411,1307.2179,1093.2891,10.0,0);
Create3DTextLabel("Menu de Comprar Armas\nAperte Enter Para Usar",COR_3DLABEL,2176.6519,1619.0439,999.9766,8.0,0);
Create3DTextLabel("Menu de Comprar Armas\nAperte Enter Para Usar",COR_3DLABEL,437.1187,-82.9036,999.5547,8.0,0);
Create3DTextLabel("Menu de Pegar Materiais\nAperte Enter Para Usar",COR_3DLABEL,2026.2104,-1896.1097,13.5469,10,0);
Create3DTextLabel("Menu de Pegar Materiais\nAperte Enter Para Usar",COR_3DLABEL,1240.5569,-2036.9919,59.9709,10,0);
Create3DTextLabel("Trocar Materiais\nAperte Enter Para Trocar",COR_3DLABEL,1990.8590,-1996.3722,13.5469,10,0);
Create3DTextLabel("Trocar Materiais\nAperte Enter Para Trocar",COR_3DLABEL,1240.5569,-2036.9919,59.9709,10,0);
Create3DTextLabel("Cura do Hospital\nDigite /curarme Para Se Curar",COR_3DLABEL,1173.2563,-1323.3102,15.3943,8,0);
Create3DTextLabel("Cura do Hospital\nDigite /curarme Para Se Curar",COR_3DLABEL,2029.5945,-1404.6426,17.2512,8,0);
Create3DTextLabel("Limpar Ficha\nDigite /limpar Para Limpar",COR_3DLABEL,253.9280,69.6094,1003.6406,7,0);
Create3DTextLabel("Limpar Ficha\nDigite /limpar Para Limpar",COR_3DLABEL,259.2474,120.3977,1003.2188,7,0);
Create3DTextLabel("Limpar Ficha\nDigite /limpar Para Limpar",COR_3DLABEL,198.9671,168.1982,1003.0234,7,0);
Create3DTextLabel("Limpar Ficha\nDigite /limpar Para Limpar",COR_3DLABEL,234.8419,111.2194,1003.2257,7,0);
Create3DTextLabel("Limpar Ficha\nDigite /limpar Para Limpar",COR_3DLABEL,326.8282,304.4166,999.1484,7,0);
Create3DTextLabel("Bebidas do Mercado BS4\nDigite /beber Para Beber",COLOR_DBLUE,1511.2172,-1714.7565,14.0469,10,0);
Create3DTextLabel("Bebidas do Mercado BS4\nDigite /beber Para Beber",COLOR_DBLUE,1511.2272,-1711.9803,14.0469,10,0);
Create3DTextLabel("Menu de Compras\nAperte Enter Para Usar",COR_3DLABEL,1508.4419,-1703.4607,14.0469,10.0,0);
Create3DTextLabel("Cofre Policiais\nAperte Enter Para Usar",COR_3DLABEL,1568.6442,-1689.9729,6.2188,7,0);
Create3DTextLabel("Cofre Policiais\nAperte Enter Para Usar",COR_3DLABEL,238.2739,108.0566,1003.2257,7,0);
Create3DTextLabel("Cofre Policiais\nAperte Enter Para Usar",COR_3DLABEL,-1341.1760,500.5289,11.1953,7,0);
Create3DTextLabel("Cofre Mйdicos\nAperte Enter Para Usar",COR_3DLABEL,1172.8298,-1328.0298,15.4001,7,0);
Create3DTextLabel("Cofre Aztecas\nAperte Enter Para Usar",COR_3DLABEL,2811.7102,-1166.1824,1025.5703,7,0);
Create3DTextLabel("Cofre Taliban\nAperte Enter Para Usar",COR_3DLABEL,2749.9517,-2453.6799,13.8623,7,0);
Create3DTextLabel("Cofre Prefeitura\nAperte Enter Para Usar",COR_3DLABEL,356.3957,152.4393,1025.7891,7,0);
Create3DTextLabel("Cofre Hitmans\nAperte Enter Para Usar",COR_3DLABEL,2348.0989,-1047.2307,53.8740,7,0);
Create3DTextLabel("Cofre Repуrteres\nAperte Enter Para Usar",COR_3DLABEL,752.1580,-1358.9927,13.5000,7,0);
Create3DTextLabel("Cofre Taxistas\nAperte Enter Para Usar",COR_3DLABEL,992.5768,-1460.1726,13.5469,7,0);
Create3DTextLabel("Cofre Policiais\nAperte Enter Para Usar",COR_3DLABEL,1106.1971,-299.8054,74.5391,7,0);
Create3DTextLabel("Cofre Cosa Nostra\nAperte Enter Para Usar",COR_3DLABEL,-2634.2791,1409.7692,906.4647,7,0);
Create3DTextLabel("Cofre Yakuza\nAperte Enter Para Usar",COR_3DLABEL,-2167.5757,644.8060,1057.7687,7,0);
Create3DTextLabel("Cofre Groove Street\nAperte Enter Para Usar",COR_3DLABEL,2514.1301,-1691.2979,14.0460,7,0);
Create3DTextLabel("Cofre Al'qaeda\nAperte Enter Para Usar",COR_3DLABEL,400.0611,2539.5366,16.5448,7,0);
Create3DTextLabel("Cofre Policiais\nAperte Enter Para Usar",COR_3DLABEL,208.8036,145.8378,1003.0234,7,0);
Create3DTextLabel("Cofre Ballas\nAperte Enter Para Usar",COR_3DLABEL,1074.7671,-1204.1219,18.1446,7,0);
Create3DTextLabel("Cofre Vagos\nAperte Enter Para Usar",COR_3DLABEL,2341.6677,-1186.3137,1027.9766,7,0);
Create3DTextLabel("Cofre Comando Vermelho\nAperte Enter Para Usar",COR_3DLABEL,2151.3218,-1789.1669,13.5097,7,0);
Create3DTextLabel("Cofre PCC\nAperte Enter Para Usar",COR_3DLABEL,1327.2062,-877.5867,39.5781,7,0);
Create3DTextLabel("Cofre Mercenбrios\nAperte Enter Para Usar",COR_3DLABEL,372.4462,-2052.8838,8.0156,5,0);
SetTimer("SendMensagens",90000,1);
tempoGranaTR = SetTimer("GranaTerritorios", 300000, 1);
weaponhacktimer = SetTimer("CheckHack",1000,1);
SetTimer("Velocimetro", 1000, 1);
//ConnectNPC("bot_onibus","Bus"); //onibus bot
//ConnectNPC("bot_detrem","bot_perfeito"); //teste bot
new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
for(new c=0;c<CAR_AMOUNT;c++)
{
Gas[c] = GasMax;
}
donoestacao = 0;
donocasarao = 0;
donoFavela = 0;
donoskate = 0;
LoadProperty();
LoadBizz();
LoadSBizz();
LoadBoxer();
LoadStuff();
LoadIRC();
LoadCar();
PlayerHaul[390][pCapasity] = 100;
PlayerHaul[391][pCapasity] = 100;
PlayerHaul[392][pCapasity] = 50;
PlayerHaul[393][pCapasity] = 50;
//LoadVendas();
IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
IRCInfo[9][iPlayers] = 0;
News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
format(string, sizeof(string), "Nenhum");
strmid(News[hAdd1], string, 0, strlen(string), 255);
strmid(News[hAdd2], string, 0, strlen(string), 255);
strmid(News[hAdd3], string, 0, strlen(string), 255);
strmid(News[hAdd4], string, 0, strlen(string), 255);
strmid(News[hAdd5], string, 0, strlen(string), 255);
format(string1, sizeof(string1), "Nenhum");
strmid(News[hContact1], string1, 0, strlen(string1), 255);
strmid(News[hContact2], string1, 0, strlen(string1), 255);
strmid(News[hContact3], string1, 0, strlen(string1), 255);
strmid(News[hContact4], string1, 0, strlen(string1), 255);
strmid(News[hContact5], string1, 0, strlen(string1), 255);
LoadVip();
SetGameModeText("RPG");
SendRconCommand("hostname Brasil Samp 4Ever [RPG v1.5]");
SetTimer("RandomServerNames",2000,1);
SendRconCommand("mapname San Andreas");
ShowPlayerMarkers(0);
AllowInteriorWeapons(1);
AllowAdminTeleport(1);
DisableInteriorEnterExits();
UsePlayerPedAnims();
// CreatedCars check
for(new i = 0; i < sizeof(CreatedCars); i++)
{
CreatedCars[i] = 0;
}
// Player Class's
for(new i = 0; i <= sizeof(Peds)-1; i++)
{
AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);
}
//Create3dTexts();
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 0)
{
AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
format(gstring, sizeof(gstring), "Casa A Venda\nTipo: %s\nValor: R$%d\nNivel: %d\nPara comprar digite /comprarcasa",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
HouseLabel[h] = Create3DTextLabel(gstring,COLOR_AZULBB,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0);
}
if(HouseInfo[h][hOwned] == 1)
{
AddStaticPickup(1318, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
if(HouseInfo[h][hRentabil] == 0)
{
format(gstring, sizeof(gstring), "Dono: %s\nNivel: %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
HouseLabel[h] = Create3DTextLabel(gstring,COLOR_AZULBB,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0);
}
else
{
format(gstring, sizeof(gstring), "Dono: %s\nAluguel: R$%d\nNivel: %d\nDigite /alugarquarto para alugar um quarto",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
HouseLabel[h] = Create3DTextLabel(gstring,COLOR_AZULBB,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0);
}
}
}
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
AddStaticPickup(1272, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
format(gstring, sizeof(gstring), "%s\nEsta empresa esta a venda\nValor: R$%d Nivel: %d\nPara comprar digite /compraremp",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
BizzLabel[h] = Create3DTextLabel(gstring,COLOR_AZULBB,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5,20.0,0);
}
if(BizzInfo[h][bOwned] == 1)
{
AddStaticPickup(1318, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
format(gstring, sizeof(gstring), "%s\nDono: %s\nExtorcao: %s\nEntrada: R$%d\nNivel: %d\nAperte Enter Para Entrar",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
BizzLabel[h] = Create3DTextLabel(gstring,COLOR_AZULBB,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5,20.0,0);
}
}
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(SBizzInfo[h][sbOwned] == 0)
{
AddStaticPickup(1272, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
format(gstring, sizeof(gstring), "%s\nEsta empresa esta a venda\nValor: R$%d Nivel: %d\nPara comprar digite /compraremp",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
SBizzLabel[h] = Create3DTextLabel(gstring,COLOR_AZULBB,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+0.5,20.0,0);
}
if(SBizzInfo[h][sbOwned] == 1)
{
AddStaticPickup(1318, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
format(gstring, sizeof(gstring), "%s\nDono: %s\nExtorcao: %s\nEntrada: R$%d\nNivel: %d\nAperte Enter Para Entrar",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded]);
SBizzLabel[h] = Create3DTextLabel(gstring,COLOR_AZULBB,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+0.5,20.0,0);
}
}
AddStaticPickup(1318, 23, 414.5280,2531.5229,19.1648); //equipar alqaeda
AddStaticPickup(1318, 23, 2140.9382,-1801.9813,16.1475) ; // Entrada HQ Comando Vermelho
AddStaticPickup(1318, 23, 967.2544,2175.1235,10.8203) ; // Entrada HQ PCC
AddStaticPickup(1318, 23, 246.2975,87.4735,1003.6406); //elevador cop
portaodpauto = CreatePickup(1210, 0, 246.4286,73.8840,1003.6406); //Dp Auto
AddStaticPickup(351,23,2176.6519,1619.0439,999.9766); // loja de armas 1
AddStaticPickup(351,23,437.1187,-82.9036,999.5547); // loja de armas 2
AddStaticPickup(1241,23,-22.2540,-55.6456,1003.5469); // loja 24/7
AddStaticPickup(1241,23,-26.8819,-89.6936,1003.5469); // loja 24/7
AddStaticPickup(1241,23,-22.3265,-138.4765,1003.5469); // loja 24/7
AddStaticPickup(1241,23,-30.3140,-28.3121,1003.5573); // loja 24/7
AddStaticPickup(1241,23,1511.2172,-1714.7565,14.0469); //beber bar DP
AddStaticPickup(1241,23,1511.2272,-1711.9803,14.0469); //beber bar DP
AddStaticPickup(1241,23,1508.4419,-1703.4607,14.0469); //comprar bar DP
//======================[COFRE HQ]======================================//
AddStaticPickup(1239, 23, 1568.6442,-1689.9729,6.2188); //Cofre ORG
AddStaticPickup(1239, 23, 238.2739,108.0566,1003.2257); //Cofre ORG
AddStaticPickup(1239, 23, -1341.1760,500.5289,11.1953); //Cofre ORG
AddStaticPickup(1239, 23, 1172.8298,-1328.0298,15.4001); //Cofre ORG
AddStaticPickup(1239, 23, 2811.7102,-1166.1824,1025.5703); //Cofre ORG
AddStaticPickup(1239, 23, 2749.9517,-2453.6799,13.8623); //Cofre ORG
AddStaticPickup(1239, 23, 356.3957,152.4393,1025.7891); //Cofre ORG
AddStaticPickup(1239, 23, 2348.0989,-1047.2307,53.8740); //Cofre ORG
AddStaticPickup(1239, 23, 752.1580,-1358.9927,13.5000); //Cofre ORG
AddStaticPickup(1239, 23, 992.5768,-1460.1726,13.5469); //Cofre ORG
AddStaticPickup(1239, 23, 1106.1971,-299.8054,74.5391); //Cofre ORG
AddStaticPickup(1239, 23, -2634.2791,1409.7692,906.4647); //Cofre ORG
AddStaticPickup(1239, 23, -2167.5757,644.8060,1057.7687); //Cofre ORG
AddStaticPickup(1239, 23, 2514.1301,-1691.2979,14.0460); //Cofre ORG
AddStaticPickup(1239, 23, 400.0611,2539.5366,16.5448); //Cofre ORG
AddStaticPickup(1239, 23, 208.8036,145.8378,1003.0234); //Cofre ORG
AddStaticPickup(1239, 23, 1074.7671,-1204.1219,18.1446); //Cofre ORG
AddStaticPickup(1239, 23, 2341.6677,-1186.3137,1027.9766); //Cofre ORG
AddStaticPickup(1239, 23, 2151.3218,-1789.1669,13.5097); //Cofre ORG
AddStaticPickup(1239, 23, 1327.2062,-877.5867,39.5781); //Cofre ORG
AddStaticPickup(1239, 23, 372.4462,-2052.8838,8.0156); //Cofre ORG
//======================================================================//
AddStaticPickup(1277, 23, 1490.2411,1307.2179,1093.2891); //licencas
AddStaticPickup(1318, 23, 1468.6473,-1767.3595,18.7958); //caixa prefeitura
AddStaticPickup(1210, 23, 361.8300,173.5202,1008.3828); //Empregos
AddStaticPickup(1240, 23, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Ammu
AddStaticPickup(1240, 23, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
AddStaticPickup(1318, 23, 1481.0386,-1772.3120,18.7958); //City Hall
//AddStaticPickup(1318, 23, 648.6782,-1357.4170,13.5698); //noticiasReporter Registration & /jornal
/*AddStaticPickup(1210, 23, 374.1902,191.9725,1014.1875); //CarDealer Registration ---
AddStaticPickup(1210, 23, 347.5241,162.3106,1014.1875); //Boxer Registration ---
AddStaticPickup(1210, 23, 1759.2711,-1849.1093,13.5781); //BusDriver Registration
AddStaticPickup(1318, 23, 1381.0413,-1088.8511,27.3906); //Bill Board (old Emprego Department)*/
AddStaticPickup(2060, 23, 2026.2104,-1896.1097,13.5469); //Pacotes de Material
AddStaticPickup(2060, 23, 1990.8590,-1996.3722,13.5469); //Fabrica de Material
AddStaticPickup(371, 23, 1544.2,-1353.4,329.4); //LS towertop
AddStaticPickup(371, 23, 1536.0, -1360.0, 1150.0); //LS towertop
AddStaticPickup(1242, 23, 1527.5,-12.1,1002.0); //binco armor
AddStaticPickup(1240, 23, 279.3000,1853.5619,8.7649); //area51 health
AddStaticPickup(1318, 23,259.2474,120.3977,1003.2188);// /limpar
AddStaticPickup(1318, 23,234.8461,111.1823,1003.2257);// /limpar
AddStaticPickup(1242,23,346.1226,161.8205,1025.7964); //EquiparGov
AddStaticPickup(1318,23,1524.4977,-1677.9469,6.2188); //epm
AddStaticPickup(1318,23,1565.1235,-1666.9944,28.3956); //epm
AddStaticPickup(1318,23,374.3401,-2055.2114,8.0156); //emc
AddStaticPickup(1318,23,368.7828,-2054.5476,15.4066); //emc
AddStaticPickup(1318,23,964.0209,-1465.8312,13.4589); //etaxi
AddStaticPickup(1318,23,965.7349,-1465.6044,21.3783); //etaxi
AddStaticPickup(1318,23,2268.0308,2449.0750,3.5313); //Subirlv
AddStaticPickup(1318,23,2267.2820,2458.2598,38.6837); //Descerlv
AddStaticPickup(1314,23,2808.0322,-1176.3846,25.3794); // Elevador Vagos
AddStaticPickup(1314,23,2807.4321,-1174.6454,32.6688); // Elevador Vagos
AddStaticPickup(2060,23,811.9582,-1100.8458,25.7857); //Mafia - Pegar
AddStaticPickup(1314,23,1327.1804,-884.2955,39.5781); //elevador pcc
AddStaticPickup(1314,23,1324.3936,-890.1075,45.2266); //elevador pcc
AddStaticPickup(1314,23,-50.6012,-233.2422,6.7646); //Elevador PC Subir
AddStaticPickup(1314,23,-54.6216,-237.0123,31.5678); //Elevador PC Descer
AddStaticPickup(1314,23,346.8519,-1494.9565,36.0391);//Elevador BOPE Subir
AddStaticPickup(1314,23,345.1602,-1482.8597,76.5391);//Elevador BOPE Descer
AddStaticPickup(2060,23,1240.5569,-2036.9919,59.9709);// Trocar Materias Mбfias
AddStaticPickup(2060,23,-2648.0940,1396.4666,906.4609);// Equipar Mбfia Cosa Nostra
// Entrances and exits start
AddStaticPickup(1318, 23, 2808.1106,-1189.6528,25.3436); //HQ VAGOS
AddStaticPickup(1247, 23, 1554.9537,-1675.6584,16.1953);//DP PM
AddStaticPickup(1247, 23, -49.8844,-269.3635,6.6332);//Entrada Interior HQ PC
AddStaticPickup(1247, 23, 1545.4073,-1607.9791,13.3828);//DP Prender
// AddStaticPickup(1247, 23, 920.5212,-1184.8267,16.9766); // PC GARAGEM PRENDER
AddStaticPickup(1247, 23, 324.3141,-1496.9177,24.9219); // pr garagem
AddStaticPickup(1318, 23, 1836.4064,-1682.4403,13.3493);//Alhabra
AddStaticPickup(1247, 23, 327.8898,-1511.8446,36.0325);//DP GT3
AddStaticPickup(1318, 23, 975.4691,-1335.9618,13.5319);//Bar Pawno
AddStaticPickup(1275, 23, 2244.3423,-1665.5542,15.4766);//Entrada Binco
AddStaticPickup(1318, 23, 2229.9011,-1721.2582,13.5613);//Ganton gym
AddStaticPickup(1318, 23, 2421.4998,-1219.2438,25.5617);//Pig Pen
AddStaticPickup(1318, 23, 2419.9941,-1509.5865,24.0000);//Cluckin bell under it
AddStaticPickup(1318, 23, 2398.6240,-1899.2014,13.5469);//Cluckin bell next to 10 green
AddStaticPickup(1318, 23, 810.5328,-1616.1392,13.5469);//Marina burger
AddStaticPickup(1318, 23, 927.6217,-1353.0105,13.3438);//Cluckin Bell
AddStaticPickup(1318, 23, 1200.4232,-918.5194,43.1125);//Vinewood burger
AddStaticPickup(1318, 23, 1833.6124,-1842.4968,13.5781);//24/7 estaзгo entrada
AddStaticPickup(1318, 23, 1315.5110,-898.9860,39.5781);//24/7 perto madd dogg
AddStaticPickup(1318, 23, 1000.5861,-919.8832,42.3281);//24/7 gas station vinewood
AddStaticPickup(1318, 23, 1928.6006,-1776.4480,13.5469);//24/7 posto sul
//AddStaticPickup(1318, 23, -2441.9749,754.0135,35.1786); // 24-7 Entrance
AddStaticPickup(1318, 23, -25.1326,-141.0670,1003.5469); // 24-7 Exit
AddStaticPickup(1318, 23, 1352.3269,-1759.2491,13.5078);//24/7 Near DMV
AddStaticPickup(1318, 23, 1833.6124,-1842.4968,13.5781);//24/7 Near 8-Ball
AddStaticPickup(1318, 23, 203.5140,-202.2578,1.5781); //Pizza stack at BlueBerry
AddStaticPickup(1318, 23, 242.7591,66.4315,1003.6406); // Inside PD elevator
AddStaticPickup(1318, 23, 1570.3828,-1333.8882,16.4844); // Building next ABC
AddStaticPickup(1318, 2, 2495.3481,-1691.1355,14.7656); // Grove HQ
AddStaticPickup(1274, 1, 1929.5409,-1785.1664,13.5469); // Caixa Eletronico 1
AddStaticPickup(1274, 1, 2232.2886,-1162.6107,25.8906); // Caixa Eletronico 2
AddStaticPickup(1274, 1, 1550.4796,-1669.7039,13.5624); // Caixa Eletronico 3
AddStaticPickup(1279, 23, 2152.4727,-1014.0005,62.8375); //Drogas Favela
AddStaticPickup(1279, 23, 1919.1384,-1415.4775,13.5703); // Drogas Skate
AddStaticPickup(1242, 23, 229.8216,165.0319,1003.0234) ; // Equipar PC
AddStaticPickup(1242, 23, 255.1110,76.0224,1003.6406) ; // Equipar DP
AddStaticPickup(1318, 23, 252.5820,69.7423,1003.6406) ; // Limpar DP
AddStaticPickup(1242, 23, 240.8127,112.7893,1003.2188) ; // Equipar B.O.P.E
AddStaticPickup(1242, 23, 1530.5187,-1702.5320,6.2252) ; // Equipar DP Garagem
AddStaticPickup(1247, 23, 225.8874,114.2892,999.0156) ; // PrenderCadeia B.O.P.E
AddStaticPickup(1247, 23, 197.2681,179.3594,1003.0234) ; // PrenderCadeia PC
AddStaticPickup(1247, 23, 268.2967,77.5858,1001.0391) ; // PrenderCadeia PM
AddStaticPickup(1242, 23, 302.7606,-1529.7537,24.9219) ; // Equipar B.O.P.E Garagem
// AddStaticPickup(1242, 23, 914.2933,-1235.1436,17.2109) ; // Equipar PC Garagem
AddStaticPickup(1242, 23, -1345.8823,492.5301,11.2027) ; // Equipar Exйrcito
AddStaticPickup(1318, 23, 607.7161,-1459.0728,14.3895) ; // Hq Taxista Interior
AddStaticPickup(1314, 23, 599.3150,-1520.4652,15.0129) ; // Evelador Taxi 1
AddStaticPickup(1314, 23, 594.9153,-1528.5319,30.8906) ; // Elevador Taxi 2
AddStaticPickup(1242, 23, 326.4911,307.0710,999.1484) ; // EQUIPAR PF
AddStaticPickup(1318, 23, 675.0947,-1275.7603,13.6334) ; // Esconder Materiais Yakuza
AddStaticPickup(1318, 23, 256.0320,84.5082,1002.4453) ; // Autorizaзгo
AddStaticPickup(1247, 23, 321.8284,315.6733,999.1484) ; // PRENDER PF
AddStaticPickup(1210, 23, 355.2333,169.3552,1025.7891); // DarTaxa
AddStaticPickup(1210, 23, 367.3167,162.2013,1025.7891); // Portao Prefeitura
AddStaticPickup(1314, 23, 1173.4185,-1361.2090,13.9694) ; // HQ MEDICOS EMBAIXO
AddStaticPickup(1314, 23, 1169.0085,-1329.3441,31.4640) ; // HQ MEDICOS EM CIMA
AddStaticPickup(1314, 23, 2522.9346,-1679.4137,15.4970) ; // HQ MEDICOS EMBAIXO
AddStaticPickup(1314, 23, 2524.4297,-1681.8153,19.9302) ; // HQ MEDICOS EM CIMA
AddStaticPickup(1318, 23, 2232.9934,-1333.1924,23.9815) ; // IGREJA
AddStaticPickup(1247, 23, -1298.8188,490.5014,11.1953) ; // PRENDER EXERCITO
AddStaticPickup(1274, 23, 2306.5127,-6.1166,26.7422) ; // Acesso Restrito Banco
AddStaticPickup(1318, 23, 1631.9160,-1172.1013,24.0781) ; // Acesso Restrito Lotйrica
AddStaticPickup(1274, 23, 820.6042,8.3990,1004.1962) ; // Roubo Lotйrica
AddStaticPickup(1274, 23, 354.6608,172.0170,1008.3802) ; // Roubo prefeitura
AddStaticPickup(1314, 23, 2139.7847,-1176.8256,23.9922) ; // Elevador Aluguel 1
AddStaticPickup(1314, 23, 2138.6680,-1168.9967,28.1484) ; // Elevador Aluguel 2
AddStaticPickup(1318, 23, 1991.7828,-1183.4724,20.5116) ; // Pescar Parque Gleen 1
AddStaticPickup(1318, 23, 1948.1309,-1215.2512,20.5019) ; // Pescar Parque Gleen 2
AddStaticPickup(1318, 23, 839.8817,-1339.4336,7.1719) ; // Orelhao Estaзгo Civil
AddStaticPickup(1318, 23, 1059.6041,-345.1531,73.9922) ; // Interior Policia Federal
AddStaticPickup(1318, 23, 198.9671,168.1982,1003.0234) ; // Limpar PC
AddStaticPickup(1318, 23, 326.8282,304.4166,999.1484) ; // Limpar PF
AddStaticPickup(1314, 23, 768.2192,-3.9873,1000.7203); // mudarluta
AddStaticPickup(1275, 23, 461.3484,-1500.9084,31.0592); // Entrada ZIP
AddStaticPickup(1318, 23, 2233.2659,-1159.8256,25.8906); // Entrada Hotel
AddStaticPickup(1318, 23, 1497.0920,-687.8906,95.5633); // Entrada Mбfia Cosa Nostra
AddStaticPickup(1274, 23, 2224.1484,-1141.8772,1025.7969); // Caixa Eletronico em lol
AddStaticPickup(1318, 23, 2232.8149,-1165.7214,25.8906) ; // Orelhao hotel
AddStaticPickup(1318, 23, 2219.9551,-1154.7574,1025.7969) ; // Orelhao hotel
AddStaticPickup(1318, 23, 952.5460,-909.1292,45.7656) ; // Entrada HQ Los Aztecas
AddStaticPickup(1318, 23, 1154.9366,-1180.8309,32.8187) ; // Entrada HQ Ballas
AddStaticPickup(1318, 23, 1548.7111,-1717.2552,13.5546) ; // Pickup BAR
AddStaticPickup(1274, 23, 2308.7908,-13.2499,26.7422); // Banco Los Santos($)
AddStaticPickup(1274, 23, 2169.1516,1589.9265,999.9713); // Roubo Loja de Armas 1($)
AddStaticPickup(1274, 23, 451.3090,-79.8603,999.5547); // Roubo Loja de Armas 2($)
AddStaticPickup(1318, 23, 2104.8252,-1806.5239,13.5547) ; // Pickup Entrada Pizza
AddStaticPickup(1242, 23, 2743.6855,-2453.9363,13.8623) ; // equipar taliban
AddStaticPickup(1247, 23, 195.5733,158.4008,1003.0234); //prender novo
AddStaticPickup(1274, 23, 229.6725,153.8311,1003.0234); //CAIXA PC
AddStaticPickup(1274, 23, 241.0845,115.2740,1003.2188); //CAIXA BOPE
AddStaticPickup(1274, 23, 321.4753,305.5962,999.1484); //CAIXA PF
AddStaticPickup(1274, 23, -1347.6376,499.9476,11.1953); //CAIXA EXE
AddStaticPickup(1239, 23, 822.0201,4.2154,1004.1797); // coisa lot 3
AddStaticPickup(1239, 23, 822.0099,6.3927,1004.1797); // coisa lot 4
AddStaticPickup(1239, 23, 822.0237,1.7826,1004.1797); // coisa lot 2
AddStaticPickup(1239, 23, 822.0087,-0.1116,1004.1797); // coisa lot 1
AddStaticPickup(1318, 23, 2334.8550,-1044.9471,52.3582); //equipar hitman
[/spoiler]