Help with pickups
#1

Hi all I have a GF-edit and the pickups do not appear

Код:
	AddStaticPickup(1239, 2, -792.9693,500.5572,1367.3672);//Waiter uniform list
	AddStaticPickup(1239, 2, -779.3134,497.8989,1371.7490);//Waiter uniform list 2
	AddStaticPickup(1239, 2, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Ammu
	AddStaticPickup(1239, 2, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
	AddStaticPickup(1239, 2, 253.9280,69.6094,1003.6406); //Clear icon in Police Station
	AddStaticPickup(1239, 2, 1481.0206,-1771.1138,18.7958); //City Hall
	AddStaticPickup(1239, 2, 1215.1304,-11.8431,1000.9219); //Whore Registration
	AddStaticPickup(1239, 2, 1793.02,-1296.56,13.44); //[/paper] paper boy + news reporter
	AddStaticPickup(1239, 2, 1488.6949,-1721.7136,8.2067); //Black Market
	AddStaticPickup(1239, 2, 1381.0413,-1088.8511,27.3906); //Bill Board (old Job Department)
	AddStaticPickup(1239, 2, 1512.33,-1459.90,9.50); //Factory
	AddStaticPickup(1239, 2, 1073.0619,-344.5148,73.9922); //Hitman Agency entrance
	/*AddStaticPickup(371, 2, 1544.2,-1353.4,329.4); //LS towertop
	AddStaticPickup(371, 2, 1536.0, -1360.0, 1150.0); //LS towertop*/
	AddStaticPickup(1242, 2, 1527.5,-12.1,1002.0); // binco armor
	AddStaticPickup(1240, 2, 279.3000,1853.5619,8.7649); // area51 health
	AddStaticPickup(1239, 2, 1174.9100,-1365.7330,13.9876); // Elevator 1
	AddStaticPickup(1239, 2, 1174.9591,-1369.8761,23.9736); // Elevator 2
	//AddStaticPickup(1254, 2, 2146.3523,-2267.7498,14.2344); // Materials Drop Off.
	AddStaticPickup(1239, 2, 379.1396,-114.2661,1001.4922); // Pizza Pickup
	AddStaticPickup(1240, 2, 263.1702,76.4346,1001.0391); // Jail health
	AddStaticPickup(1239, 2, 359.6820,207.0294,1008.3828); // AD
	AddStaticPickup(1239, 2, -382.6660,-1426.5121,26.2410); // Farmer job pickup
	AddStaticPickup(1239, 2, -38.8664,56.3031,3.1172); // Drugs for smugglers
  AddStaticPickup(1239, 2, 2022.1492,-1108.7837,26.2031); // Drugs Smuggler pickup
  AddStaticPickup(1239, 2, 2072.5486,-1582.8029,13.4741); // Drugs Dealer reg
  AddStaticPickup(1239, 2, 213.8549,-230.5761,1.7786); // Materials smuggler reg
  AddStaticPickup(1239, 2, -86.1251,2.6412,3.1172); // Drugs Farmer reg
  AddStaticPickup(1239, 2, 2137.6624,-2282.3455,20.6719); // Gun Maker reg
	// Entrances and exits start
	AddStaticPickup(1247, 2, 1554.9537,-1675.6584,16.1953);//PD Building
	AddStaticPickup(1239, 2, 1836.4064,-1682.4403,13.3493);//Alhabra
	AddStaticPickup(1239, 2, 2310.0183,-1643.4669,14.8270);//10 green
	AddStaticPickup(1239, 2, 2244.3423,-1665.5542,15.4766);//binco next to it
	AddStaticPickup(1239, 2, 2229.9011,-1721.2582,13.5613);//Ganton gym
	AddStaticPickup(1239, 2, 2421.4998,-1219.2438,25.5617);//Pig Pen
	AddStaticPickup(1239, 2, 2419.9941,-1509.5865,24.0000);//Cluckin bell under it
	AddStaticPickup(1239, 2, 2398.6240,-1899.2014,13.5469);//Cluckin bell next to 10 green
	AddStaticPickup(1239, 2, 810.4849,-1616.2451,13.5469);//Marina burger
	AddStaticPickup(1239, 2, 928.9110,-1352.9958,13.3438);//Cluckin above it
	AddStaticPickup(1239, 2, 1199.2477,-918.1447,43.1233);//Vinewood burger
	AddStaticPickup(1239, 2, 1000.5861,-919.8832,42.3281);//24/7 gas station vinewood
	AddStaticPickup(1239, 2, 1315.4581,-897.6843,39.5781);//24/7 vinewood
	AddStaticPickup(1239, 2, 2105.4858,-1806.4725,13.5547);//Pizzaboy
	AddStaticPickup(1239, 2, -2441.9749,754.0135,35.1786); // 24-7 Entrance
	AddStaticPickup(1239, 2, -25.1326,-141.0670,1003.5469); // 24-7 Exit
	AddStaticPickup(1239, 2, 1352.1194,-1759.2534,13.5078);//24/7 Near DMV
	AddStaticPickup(1239, 2, 1833.6124,-1842.4968,13.5781);//24/7 Near 8-Ball
	AddStaticPickup(1239, 2, 1298.7075,-798.5981,84.1406);//Madd dog crib
	AddStaticPickup(1239, 2, 1518.5179,-1452.9224,14.2031);//FBI
	AddStaticPickup(1239, 2, 1038.0298,-1339.9967,13.7361);//Jim's sticky ring
	AddStaticPickup(1239, 2, 349.5560,161.6693,1019.9912); //Heal me
	AddStaticPickup(1239, 2, 1505.2416,-1694.5597,14.0469); //Map icon
	AddStaticPickup(1239, 2, 1828.1594,-1980.4380,13.5469); //Surenos HQ
	AddStaticPickup(1239, 2, 1784.58,-1297.52,13.37); //ABC studio
	AddStaticPickup(1239, 2, 1752.8452,-1894.1328,13.5573); //LA Yellow Cab Co.
	AddStaticPickup(1239, 2, 2445.5481,-1758.8947,13.5919); //Top Shottas HQ
	AddStaticPickup(1239, 2, 2045.3928,-1908.0372,13.4869); //DMW
	AddStaticPickup(1239, 2, 203.5140,-202.2578,1.5781); //Pizza stack at BlueBerry
	AddStaticPickup(1239, 2, 242.7591,66.4315,1003.6406); // Inside PD elevator
	AddStaticPickup(1239, 2, 1570.3828,-1333.8882,16.4844); // Building next ABC
	AddStaticPickup(1239, 2, 691.5770,-1276.0026,13.5607); // Yamaguchi HQ
	AddStaticPickup(1239, 2, 1122.7406,-2037.0421,69.8942); // Chornaya Bratva HQ
	// Entrances and exits ends
	/*license_pu = CreatePickup(1274, 2, 2048.352,-1900.153,13.5538); // Buy Driving License
  license_pu2 = CreatePickup(1274, 2, 1588.291,-2641.629,13.54688); // Buy Flying License
  license_pu3 = CreatePickup(1274, 2, 397.2415,-1804.371,7.829849); // Buy Sailing License
  license_pu4 = CreatePickup(1274, 2, 1365.159,-1288.066,13.54688); // Buy Gun License
  license_pu5 = CreatePickup(1274, 2, 396.2429,-2074.728,7.835938); // Buy Fishing License*/
  AddStaticPickup(1314, 2, 1528.779,-1678.113,5.890625); //Arrest Place
  //AddStaticPickup(1239, 2, 1043.4530,-1028.0344,32.1016); //Fernandez tuning
  AddStaticPickup(1239, 2, 2073.2979,-1831.1228,13.5469); // Pay & Spray
  AddStaticPickup(1239, 2, 1024.9756,-1030.7930,32.0257); // Pay & Spray
  AddStaticPickup(1239, 2, 488.3819,-1733.0563,11.1752); // Pay & Spray
  AddStaticPickup(1239, 2, 719.8940,-464.8272,16.3359); // Pay & Spray
  AddStaticPickup(1239, 2, 242.7591,66.4315,1003.6406); // Inside PD elevator
  AddStaticPickup(1239, 2, 1524.5724,-1677.8043,6.2188); // PD Tunnel
  AddStaticPickup(1239, 2, 1557.7257,-1675.2711,28.3955); // PD roof
  AddStaticPickup(1254, 2, 248.4994,-33.1366,1.5781); // Materials pickup
  AddStaticPickup(1254, 2, 2230.3579,-2286.2107,14.3751); // Materials bank
  AddStaticPickup(1279, 2, 523.6057,-1812.9794,6.5713); // Get Drugs Pickup
  AddStaticPickup(1279, 2, 1424.1729,-1317.9955,13.5547); // Get Drugs Pickup 2
  AddStaticPickup(1239, 2, 362.1231,173.6424,1008.3828); // Legal Job Menu
  AddStaticPickup(1239, 2, 1490.3195,1305.6976,1093.2964); // Licenses Menu
  AddStaticPickup(1239, 2, 250.0484,66.2467,1003.6406); // Weapon Licenses Buyable
  AddStaticPickup(1239, 2, 1599.8707,-2333.9417,13.5393); //GUide ls
	pickups=pickups+200;
	printf("Loading %d pickups... Loaded successfuly !",pickups);
Can u help me ?please
Reply
#2

https://sampwiki.blast.hk/wiki/AddStaticPickup

Try putting it under OnGameModeInt()
Reply
#3

don't work anyone other idea?
Reply
#4

If this is a gamemode for a 0.3 server you need to have the virtual world specified also.

Check the wiki link posted by jacko, it shows an example of how it's meant to be used.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)