01.09.2013, 01:34
Bom, estou com um problema das pickup nгo carregar no servidor, elas nгo aparecerem no jogo.
PHP код:
stock CarregarPickup()
{
Create3DTextLabel(".", COLOR_RED, 1031.6764,-1442.6636,13.5546, 15, 0, 1);
// Fixing pickups, 1st one doesn't show for some reason
new string[128];
CreatePickup(1239, 1,-432.5431,1161.5724,3.5931); // Fishing
Create3DTextLabel("Fishing Spot\n{FFFF00}/fish to begin fishing", COLOR_RED, -432.5431,1161.5724,3.5931, 30, 0, 1);
CreatePickup(1239, 1,634.7498,1680.4220,6.9922); // Trucker Job
Create3DTextLabel("Trucker Job\n{FFFF00}/join to get the job", COLOR_RED, 634.7498,1680.4220,6.9922, 30, 0, 1);
CreatePickup(1239, 1, 32.1669,923.9841,23.5956);// Weapons Dealer Job
Create3DTextLabel("Weapons Dealer Job\n{FFFF00}/join to get the job", COLOR_RED, 32.1669,923.9841,23.5956, 15, 0, 1);
CreatePickup(1239, 1, 111.4068,1112.3735,13.6094); // Weapons Smuggler Job
Create3DTextLabel("Weapons Smuggler Job\n{FFFF00}/join to get the job", COLOR_RED, 111.4068,1112.3735,13.6094, 15, 0, 1);
CreatePickup(348, 1, 108.6315,1020.7019,13.6094); // Materials Pickup
Create3DTextLabel("Materials Pickup\n{FFFF00}/getmats to get packages", COLOR_RED, 108.6315,1020.7019,13.6094, 15, 0, 1);
CreatePickup(1279, 1, -455.6552,613.8401,16.7458); // Materials Dropoff
Create3DTextLabel("Materials Dropoff\n{FFFF00}/dropmats to get materials", COLOR_RED, -455.6552,613.8401,16.7458, 15, 0, 1);
CreatePickup(1239, 1, -90.9628,1118.2490,20.7860); // Mechanic Job
Create3DTextLabel("Mechanic Job\n{FFFF00}/join to get the job", COLOR_RED, -90.9628,1118.2490,20.7860, 15, 0, 1);
CreatePickup(1239, 1, 1380.8300,-1088.7698,27.3844); // Lawyer Job
Create3DTextLabel("Lawyer Job\n{FFFF00}/join to get the job", COLOR_RED, 1380.8300,-1088.7698,27.3844, 15, 0, 1);
CreatePickup(1239, 1, 2178.5518,-1660.4418,14.9644); // Drugs Dealer Job
Create3DTextLabel("Drugs Dealer Job\n{FFFF00}/join to get the job\n/dropweed to deliver weed", COLOR_RED, 2178.5518,-1660.4418,14.9644, 15, 0, 1);
CreatePickup(1239, 1, 2354.4045,-1169.8337,28.0339); // Drugs Smuggler Job
Create3DTextLabel("Drugs Smuggler Job\n{FFFF00}/join to get the job\n/dropcocaine to deliver cocaine", COLOR_RED, 2354.4045,-1169.8337,28.0339, 15, 0, 1);
CreatePickup(1239, 1, 2941.2471,-2053.3892,3.5480); // Weed Packages Pickup
Create3DTextLabel("Weed Packages Pickup\n{FFFF00}/getweed to get packages", COLOR_RED, 2941.2471,-2053.3892,3.5480, 15, 0, 1);
CreatePickup(1239, 1, 2941.2471,-2050.1772,3.5480); // cocaine Packages Pickup
Create3DTextLabel("Cocaine Packages Pickup\n{FFFF00}/getcocaine to get packages", COLOR_RED, 2941.2471,-2050.1772,3.5480, 15, 0, 1);
CreatePickup(1279, 1, 323.0012,1118.5720,1083.8828); // Actual Weed Pickup
format(string, sizeof(string), "Weed Pickup\n{FFFF00}/buyweed to get weed\nAvailable Stock: %d/2000", Weed);
WeedText = CreateDynamic3DTextLabel(string, COLOR_RED, 323.0012,1118.5720,1083.8828, 15);
CreatePickup(1279, 1, 2345.3992,-1185.6423,1027.9766); // Actual cocaine Pickup
format(string, sizeof(string), "cocaine Pickup\n{FFFF00}/buycocaine to get cocaine\nAvailable Stock: %d/2000", cocaine);
cocaineText = CreateDynamic3DTextLabel(string, COLOR_RED, 2345.3992,-1185.6423,1027.9766, 15);
CreatePickup(1239, 1, 774.1115,7.7268,1000.7078); // Bodyguard Job
Create3DTextLabel("Bodyguard Job\n{FFFF00}/join to get the job", COLOR_RED, 774.1115,7.7268,1000.7078, 15, 0, 1);
CreatePickup(1239, 1, -101.4596,1156.9485,19.7422); // gym
Create3DTextLabel("{FFFFFF}Bone County Gym\nType {DF0101}/enter {FFFFFF}to go inside", COLOR_RED, -101.4596,1156.9485,19.7422, 30, 0, 1);
CreatePickup(1239, 1, 2352.0059,-1170.1798,28.0511); // Cocaine Lab
Create3DTextLabel("{FFFFFF}Cocaine Lab\nType {DF0101}/enter {FFFFFF}to go inside", COLOR_RED, 2352.0059,-1170.1798,28.0511, 30, 0, 1);
CreatePickup(1239, 1, 2165.950927,-1671.177368,15.073158); // Drug House
Create3DTextLabel("{FFFFFF}Drug House\nType {DF0101}/enter {FFFFFF}to go inside", COLOR_RED, 2165.950927,-1671.177368,15.073158, 30, 0, 1);
CreatePickup(1239, 1, -207.8826,1119.1702,20.4297); // Cityhall
Create3DTextLabel("{FFFFFF}Bone County City Hall\nType {DF0101}/enter {FFFFFF}to go inside", COLOR_RED, -207.8826,1119.1702,20.4297, 30, 0, 1);
CreatePickup(1247, 1, 1456.5190,-1539.1852,13.5641); // LSPD
Create3DTextLabel("Departamento de Polнcia de Los Santos\n'To protect and to serve'\nAperte 'F' para entrar.", COLOR_WHITE, 1456.5190,-1539.1852,13.5641, 10, 0, 1);
CreatePickup(1318, 2, 246.2436,109.0822,1003.2188, -1); // Saнda LSPD
Create3DTextLabel("Prisгo Estadual de San Andreas\nAperte 'F' para entrar", COLOR_WHITE, 1456.5190,-1539.1852,13.5641, 10, 0, 1);
CreatePickup(1318, 2, 1456.5190,-1539.1852,13.5641, -1); // Saнda LSPD
Create3DTextLabel("Armбrio de equipamentos\n/armario", COLOR_WHITE, 266.6783,108.4476,1004.6172, 10, 0, 1);
CreatePickup(1242, 1, 266.6783,108.4476,1004.6172); // Saнda LSPD
//Posto Entrada
Create3DTextLabel("Posto de Gasolina - Conveniкncia\n/entrar", COLOR_WHITE, -232.8879,1213.5933,19.7422, 10, 0, 1);
CreatePickup(1239, 1, -232.8879,1213.5933,19.7422);
//Posto Saida
Create3DTextLabel("Posto de Gasolina - Conveniкncia\n/sair", COLOR_WHITE, -232.8879,1216.4451,19.7422, 10, 0, 1);
//CreatePickup(1239, 1, -232.8879,1216.4451,19.7422);
/*Create3DTextLabel("Federal Bureau Of Invesitgation\n{FFFF00}/enter at this spot.", COLOR_RED, 1456.5190,-1539.1852,13.5641,90.0567, 10, 0, 1);*/
CreatePickup(1239, 1, 663.2349,1737.9799,6.7428); // Trucker Pickup
Create3DTextLabel("Packages Pickup\n{FFFF00}/loadpackages to get crates", COLOR_RED, 663.2349,1737.9799,6.7428, 30, 0, 1);
CreatePickup(1239, 1, 2253.0139,2771.7834,10.8203); // Trucker Dropoff
format(string, sizeof(string), "Packages Dropoff\n{FFFF00}/deliverpackages to deliver crates\nAvailable Products: %d/10000", Products);
ProductsText = CreateDynamic3DTextLabel(string, COLOR_RED, 2253.0139,2771.7834,10.8203, 30);
CreatePickup(1239, 1, -135.0201,1116.2260,20.1966); // Dealership
Create3DTextLabel("Concessionбria de Veiculos\nUse {FFFF00}/comprarcarro{FFFFFF} para comprar seu veiculo", COLOR_RED, -135.0201,1116.2260,20.1966, 15, 0, 1);
CreatePickup(1239, 1, 1490.2968,1305.7004,1093.2964); // DMV Inside
Create3DTextLabel("Department of Motor Vehicles\n{FFFF00}/getlic to start your drivers license test", COLOR_RED, 1490.2968,1305.7004,1093.2964, 15, 0, 1);
Create3DTextLabel("Door\n{FFFF00}/exit or press F\nto get out", COLOR_RED, 1494.4541,1303.5806,1093.2891, 15, 0, 1);
CreatePickup(1239, 1, 352.1964,173.3516,1025.7891); // Government Lockers
Create3DTextLabel("Бrmario do Governo\n{FFFF00}/locker to grab your weapons", COLOR_RED, 352.1964,173.3516,1025.7891, 15, 0, 1);
//paintball text
Create3DTextLabel("{FFFFFF}PaintBall Arena\n{A80000}/paintball [join] to join the paintball",0x0000FFFF, 1310.1110,-1368.5656,14.517786, 20,0,1);
CreatePickup(1239, 1, -179.5009,1133.0728,19.7422); // Bank
Create3DTextLabel("{FFFFFF}Banco de Evolution\nAperte {DF0101}F {FFFFFF}para entrar", COLOR_RED, -179.5009,1133.0728,19.7422, 30, 0, 1);
Create3DTextLabel("Posto de Gasolina - Conveniкncia\n/entrar", COLOR_WHITE, 2045.9163,-1913.1510,13.5469, 10, 0, 1);//DMV
CreatePickup(1239, 1, 2045.9163,-1913.1510,13.5469);//DMV
CreatePickup(1313, 1, 1310.1110,-1368.5656,13.517786); // paintball pickup
//Cityhall
CreatePickup(1239, 1, 361.8299,173.3985,1008.3828); // Telecom Company
Create3DTextLabel("{FF6347}Service: {00FF00}/phchange\n{FF6347}Service: {00FF00}/namechange\n{FF6347}Service: {00FF00}/agechange\n{FF6347}Service: {00FF00}/sexchange", COLOR_LIGHTRED, 361.8299,173.3985,1008.3828+0.9, 15, 0, 1);
//tune shop
CreatePickup(1318, 1, 2117.5835,-1153.0809,24.2201);
Create3DTextLabel("{FFFFFF}Vehicle Modification Shop\n{A80000}/upgradecar to open the menu",0x0000FFFF, 2117.5835,-1153.0809,24.2201, 20,0,1);
//
// CreatePickup(1239, 1, 1043.5070,1010.2909,11.0000,308.6297); // NG
Create3DTextLabel("Bone County National Prison\n{FFFF00}/enter at this spot.", COLOR_RED, 1043.5070,1010.2909,11.0000, 30, 0, 1);
//ATM text
Create3DTextLabel("ATM\n{FFFF00}/awithdraw /adeposit", COLOR_RED, 2228.383789, -1714.005249, 14.145634, 15, 0, 1);
Create3DTextLabel("ATM\n{FFFF00}/awithdraw /adeposit", COLOR_RED, 1928.707275, -1773.489013, 14.176870, 15, 0, 1);
Create3DTextLabel("ATM\n{FFFF00}/awithdraw /adeposit", COLOR_RED, 1102.388793, -1428.854858, 16.346872, 15, 0, 1);
//Bank withdraw
Create3DTextLabel("Bank\n{FFFF00}/withdraw , /deposit", COLOR_RED, 2228.4658,1651.1661,961.7596, 15, 0, 1);
Create3DTextLabel("Bank\n{FFFF00}/withdraw , /deposit", COLOR_RED, 2227.0308,1655.4127,961.7531, 15, 0, 1);
//
//LSPD
Create3DTextLabel("LSPD Locker room\n{FFFF00}/locker", COLOR_RED, 255.071,77.074,1003.211, 15, 0, 1);
Create3DTextLabel("BCFMD Locker room\n{FFFF00}/locker", COLOR_RED, 1252.2406,321.0259,-11.7422, 15, 0, 1);
Create3DTextLabel("Liquor Store\n{FFFFFF}/store", COLOR_GREEN, 2271.6699,-1742.9114,13.5469, 15, 0, 1);
Create3DTextLabel("LSPD Accessories\n{FFFF00}/policetoys", COLOR_RED, 253.2935,76.9233,1003.6406, 15, 0, 1);
Create3DTextLabel("NONE PC\n{FFFF00}", COLOR_RED, 2243.8555,-1680.0319,4.0939, 15, 0, 1);
Create3DTextLabel("FBI Locker room\n{FFFF00}/locker", COLOR_RED, 387.3867,-1162.4469,1223.6930, 5, 0, 1);
Create3DTextLabel("FBI Elevator\n{FFFF00}/elevator", COLOR_RED, 397.4298,-1167.1226,1223.6667, 5, 0, 1);
Create3DTextLabel("FBI Elevator\n{FFFF00}/elevator", COLOR_RED, 1665.8561,-1650.3574,76.2188, 5, 0, 1);
Create3DTextLabel("FBI Elevator Bottom Floor\n{FFFF00}/elevator", COLOR_RED, 389.5572,-1162.8600,1227.8639, 5, 0, 1);
Create3DTextLabel("FBI Elevator Rooftop\n{FFFF00}/elevator", COLOR_RED, 393.3255,-1162.8689,1227.8639, 5, 0, 1);
//BCFMD Enter
CreatePickup(1239, 1, 1498.6595,-2182.5081,14.1682); //BCFMD
Create3DTextLabel("{FFFFFF}Bone County Fire & Medic Department\nType {DF0101}/enter {FFFFFF}to go inside", COLOR_RED, 1498.6595,-2182.5081,14.1682, 30, 0, 1);
//News Enter
CreatePickup(1239, 1, -311.2929,1303.4773,53.6643); //news
Create3DTextLabel("{FFFFFF}Bone County News Team\nType {DF0101}/enter {FFFFFF}to go inside", COLOR_RED, -311.2929,1303.4773,53.6643, 30, 0, 1);
// Universty Enter
CreatePickup(1239, 1, 1219.3258,-1812.1523,16.5938); //news
CreatePickup(1239, 1, 765.9518,15.2308,1000.6991, 1); // Boxer Job
Create3DTextLabel("Boxer Job\n{FFFF00}/join to get the job", COLOR_RED, 765.9518,15.2308,1000.6991, 15, 1, 1);
CreatePickup(1239, 1, 756.3295,5.6053,1000.6988, 1); // Gym /train
Create3DTextLabel("Fighting Styles\n{FFFF00}/train to change your fighting style", COLOR_RED, 756.3295,5.6053,1000.6988, 15, 0, 1);
Create3DTextLabel("Boxer 1\n{FFFF00}/bid 1 to place a bid on this boxer", COLOR_RED, 763.1202,2.4917,1001.5942, 25, 1, 0);
Create3DTextLabel("Boxer 2\n{FFFF00}/bid 2 to place a bid on this boxer", COLOR_RED, 758.5969,-1.9768,1001.5942, 25, 1, 0);
Parachute = CreatePickup(371, 1, 1544.0267,-1353.1768,329.4745); // Parachute
// Bank Robbery // INT:83, VW:8473
Create3DTextLabel("Bank Vault\n{FFFF00}/startrobbery to open the vault door", COLOR_RED, 2242.0234,1632.7185,961.7531, 25, 8473, 0);
// News Vault
Create3DTextLabel("News Agency Vault\n{FFFF00}/newsvault to check the money inside\n/vaultwithdraw to withdraw money", COLOR_RED, 1202.8289,-762.5840,1073.1819, 15, 0, 1);
//Pilot
//Car Jacker
//CreatePickup(1239, 1, 562.3151,-1293.1195,17.2482); // CARJACKER Job
//Create3DTextLabel("Car Jacker Job\n{FFFF00}/join to get the job", COLOR_RED, 562.3151,-1293.1195,17.2482, 15, 0, 1);
/*
403.8016,-2088.7976,7.8359 ; Fish1
398.7358,-2088.7939,7.8359 ; Fish2
396.1771,-2088.7976,7.8359 ; Fish3
391.0683,-2088.7974,7.8359 ; Fish4
383.4282,-2088.7969,7.8359 ; Fish5
374.9623,-2088.7974,7.8359 ; Fish6
369.8990,-2088.7976,7.8359 ; Fish7
367.3003,-2088.7981,7.8359 ; Fish8
362.1855,-2088.7974,7.8359 ; Fish9
354.5370,-2088.7983,7.8359 ; Fish10
*/
print("Static pickups loaded.");
}