Cant see map icons
#1

pawn Код:
public Onplayerconnect(playerid)
    //********************************-MAP ICONS-*******************************
    SetPlayerMapIcon(playerid,2,-2550.7781,193.7495,12.3672,48,0); //Disco (UPDATED)
    SetPlayerMapIcon(playerid,3,-2442.6968,755.4182,12.2969,62,0); //Supa Save (UPDATED)
    SetPlayerMapIcon(playerid,3,-2270.6479,-155.9576,35.3203,54,0); //SF GYM (UPDATED)
    SetPlayerMapIcon(playerid,4,-2374.3674,910.1530,45.4811,45,0); //Binco (UPDATED)
    SetPlayerMapIcon(playerid,5,-2655.0430,640.3268,14.0336,22,0); //Hospital (UPDATED)
    SetPlayerMapIcon(playerid,6,-2026.8232,-101.9837,10.8125,36,0); //Car School (UPDATED)
    SetPlayerMapIcon(playerid,7,-1605.7058,710.9884,13.9872,30,0); //Police Dept. (UPDATED)
    SetPlayerMapIcon(playerid,8,-2571.3372,246.7761,10.8203,39,0); //Tatto Parlour (UPDATED)
    SetPlayerMapIcon(playerid,9,-2575.7024,242.7810,10.8203,7,0); //Barber (UPDATED)
    SetPlayerMapIcon(playerid,10,-2172.2932,251.8605,35.1003,19,0); // PaintBall (UPDATED)
    SetPlayerMapIcon(playerid,11,-2336.8669,-166.7935,35.5547,10,0); //Burger Shot (1) GYM area (UPDATED)
    SetPlayerMapIcon(playerid,12,-2355.8171,1008.1489,50.8984,10,0); //Burger Shot (2) Junper hollow (UPDATED)
    SetPlayerMapIcon(playerid,13,-2419.7522,969.7208,45.4747,55,0); //Gas Station (UPDATED)
    SetPlayerMapIcon(playerid,14,-2241.7551,128.4982,34.7262,47,0); //Zero RC (UPDATED)
    SetPlayerMapIcon(playerid,15,-2242.5432,-88.1525,35.5256,49,0); //Bar (UPDATED)
    SetPlayerMapIcon(playerid,16,-2442.6968,755.4182,10.8203,62,0); //Supa Save (UPDATED)
    SetPlayerMapIcon(playerid,17,-1912.1790,828.1689,35.0700,10,0); //Burger Shot (UPDATED)
    SetPlayerMapIcon(playerid,18,-2625.9131,209.0156,10.8203,6,0); //Ammunation (UPDATED)
    SetPlayerMapIcon(playerid,20,-2624.2615,1411.8445,7.2399,49,0); //Jizzy (UPDATED)
    SetPlayerMapIcon(playerid,21,-1883.0876,865.7531,35.1423,45,0); //ZIP (UPDATED)
    SetPlayerMapIcon(playerid,22,-1808.1083,945.6896,24.8287,29,0); //Well Stacked Pizza (UPDATED)
    SetPlayerMapIcon(playerid,23,-1816.5439,617.5112,35.7171,14,0); //Cluckin' Bell (UPDATED)
    SetPlayerMapIcon(playerid,24,-2591.4304,170.1709,4.4406,38,0); //Film Studio (UPDATED)
    SetPlayerMapIcon(playerid,25,-2099.5503,897.2338,76.0253,24,0); //Drug House 1 (UPDATED)
    SetPlayerMapIcon(playerid,26,-1675.9359,431.5477,7.8223,55,0); //Gas Station (UPDATED)
    SetPlayerMapIcon(playerid,27,-1912.4238,827.9069,10.8203,10,0); //Burger Shot high tower (UPDATED)
    SetPlayerMapIcon(playerid,27,-1989.3228,1118.0088,54.3900,12,0); //Church (UPDATED)
    SetPlayerMapIcon(playerid,28,-1492.1323,920.1003,12.1635,52,0); //Bank (UPDATED)
    SetPlayerMapIcon(playerid,29,-2027.8923,-40.7438,38.2168,24,0); //Drug House 3 (UPDATED)
    SetPlayerMapIcon(playerid,30,-2672.0942,258.7318,5.0301,14,0); //Cluckin' Bell (UPDATED)
    SetPlayerMapIcon(playerid,31,-2454.9419,-135.8474,25.7511,24,0); //Drug House 2 (UPDATED)
    SetPlayerMapIcon(playerid,32,-1694.7743,950.8658,24.9969,45,0); //Victim (UPDATED)
    SetPlayerMapIcon(playerid,33,-2490.7197,-29.1243,25.6313,45,0); //Sub Urban (UPDATED)
    SetPlayerMapIcon(playerid,34,2756.7507,2477.3645,11.0625,29,0); //Well Stacked Pizza //City Hall (UPDATED)
    SetPlayerMapIcon(playerid,36,-1924.4607,303.1076,41.1258,8,0); //BS (UPDATRD)
    SetPlayerMapIcon(playerid,37,-1658.2651,1207.5685,6.8147,55,0); //Otto's Car (UPDATED)
    SetPlayerMapIcon(playerid,38,-2767.5613,788.8899,53.0598,17,0); //Tuff Nut Donuts(UPDATED)
    SetPlayerMapIcon(playerid,40,1937.7920,2307.2471,10.8203,61,0); //24/7
    SetPlayerMapIcon(playerid,42,1658.4434,2250.0469,11.0701,16,0); //Casino
    SetPlayerMapIcon(playerid,43,2187.7148,2469.6643,11.2422,55,0); //Gas Station
    SetPlayerMapIcon(playerid,44,2247.6421,2396.1680,10.8203,61,0); //24/7
    SetPlayerMapIcon(playerid,45,-1882.0457,823.5732,36.0255,23,0); //VIP Lounge (UPDATED)
    SetPlayerMapIcon(playerid,46,-1974.2712,137.1606,27.8245,42,0); //Train Station (UPDATED)
    SetPlayerMapIcon(playerid,47,-1422.0341,-287.6752,14.7360,5,0); //Airport (UPDATED)
    SetPlayerMapIcon(playerid,48,2169.4102,2795.8047,10.8203,10,0); //Burger Shot
    SetPlayerMapIcon(playerid,49,-1721.4858,1359.7056,6.9696,29,0); //Well Stacked Pizza near jizzy (UPDATED)
    SetPlayerMapIcon(playerid,50,2090.5415,2224.6953,11.0234,45,0); //ZIP
    SetPlayerMapIcon(playerid,51,2097.6763,2224.6965,11.0234,61,0); //24/7
    SetPlayerMapIcon(playerid,52,2101.8977,2228.8394,11.0234,14,0); //Cluckin' Bell
    SetPlayerMapIcon(playerid,53,2101.8940,2257.4641,11.0234,45,0); //Binco
    SetPlayerMapIcon(playerid,54,2367.0542,2071.0286,10.8203,10,0); //Burger Shot
    SetPlayerMapIcon(playerid,55,2393.1484,2041.6357,10.8203,14,0); //Cluckin' Bell
    SetPlayerMapIcon(playerid,56,1433.4186,2613.2285,11.3926,42,0); //Train Station (2)
    SetPlayerMapIcon(playerid,1,2019.4158,1007.6879,10.8203,44,0); //4 Dragons Casino
    SetPlayerMapIcon(playerid,2,2196.9663,1677.1306,12.3672,25,0); //Caligula's Casino
    SetPlayerMapIcon(playerid,3,2194.8633,1991.0637,12.2969,61,0); //24/7
    SetPlayerMapIcon(playerid,4,1657.0360,1733.3550,10.8281,45,0); //Binco
    SetPlayerMapIcon(playerid,5,1607.3424,1815.2427,10.8203,22,0); //Hospital
    SetPlayerMapIcon(playerid,6,1168.5786,1364.4155,10.8125,36,0); //Bike School
    SetPlayerMapIcon(playerid,7,2287.0342,2432.3674,10.8203,30,0); //Police Dept.
    SetPlayerMapIcon(playerid,8,2094.7214,2122.8630,10.8203,39,0); //Tatto Parlour
    SetPlayerMapIcon(playerid,9,2080.3555,2122.8577,10.8203,7,0); //Barber
    SetPlayerMapIcon(playerid,10,2085.1201,2073.9355,11.0547,38,0); //Sex Shop
    SetPlayerMapIcon(playerid,11,1872.2537,2071.8887,11.0625,10,0); //Burger Shot (1) Redsans East
    SetPlayerMapIcon(playerid,12,1157.9182,2072.2190,11.0625,10,0); //Burger Shot (2)
    SetPlayerMapIcon(playerid,13,1599.1934,2221.9353,11.0625,55,0); //Gas Station
    SetPlayerMapIcon(playerid,14,1694.0817,2208.9138,11.0692,50,0); //Steakhouse
    SetPlayerMapIcon(playerid,15,2441.1428,2065.4714,10.8203,49,0); //Bar
    SetPlayerMapIcon(playerid,16,2452.4990,2065.1892,10.8203,61,0); //24/7
    SetPlayerMapIcon(playerid,17,2472.8506,2034.1787,11.0625,10,0); //Burger Shot
    SetPlayerMapIcon(playerid,18,2539.5393,2083.9648,10.8203,6,0); //Ammunation
    SetPlayerMapIcon(playerid,19,2539.5400,2083.9146,10.8203,6,0); //Ammunation
    SetPlayerMapIcon(playerid,20,2546.4785,1972.6362,10.8203,61,0); //24/7
    SetPlayerMapIcon(playerid,21,2572.0991,1904.9063,11.0234,45,0); //ZIP
    SetPlayerMapIcon(playerid,22,2638.7871,1849.8553,11.0234,29,0); //Well Stacked Pizza
    SetPlayerMapIcon(playerid,23,2638.4802,1671.8751,11.0234,14,0); //Cluckin' Bell
    SetPlayerMapIcon(playerid,24,2480.9841,1525.2280,11.7813,32,0); //Motel
    SetPlayerMapIcon(playerid,25,1157.9321,2072.3201,11.0625,10,0); //Burger Shot
    SetPlayerMapIcon(playerid,26,2150.7849,2733.8997,11.1763,55,0); //Gas Station
    SetPlayerMapIcon(playerid,27,2169.4082,2795.7942,10.8203,10,0); //Burger Shot
    SetPlayerMapIcon(playerid,27,2351.8096,2533.6196,10.8203,29,0); //Well Stacked Pizza
    SetPlayerMapIcon(playerid,28,2447.6887,2376.1533,12.1635,52,0); //Bank
    SetPlayerMapIcon(playerid,29,2884.5967,2454.0811,11.0690,61,0); //24/7
    SetPlayerMapIcon(playerid,30,2838.2039,2407.6953,11.0690,14,0); //Cluckin' Bell
    SetPlayerMapIcon(playerid,31,2826.0581,2407.5701,11.0625,45,0); //Pro Laps
    SetPlayerMapIcon(playerid,32,2802.9292,2430.6736,11.0625,45,0); //Victim
    SetPlayerMapIcon(playerid,33,2779.6921,2453.9111,11.0625,45,0); //Sub Urban
    SetPlayerMapIcon(playerid,34,2756.7507,2477.3645,11.0625,29,0); //Well Stacked Pizza
    SetPlayerMapIcon(playerid,35,2412.5325,1123.8315,10.8203,56,0); //City Hall
    SetPlayerMapIcon(playerid,36,2159.5359,943.1954,10.8203,6,0); //Ammunation
    SetPlayerMapIcon(playerid,37,2117.5081,896.7767,11.1797,55,0); //Gas Station
    SetPlayerMapIcon(playerid,38,2637.2373,1129.6494,11.1797,55,0); //Gas Station
    SetPlayerMapIcon(playerid,39,1968.7338,2295.8708,16.4559,54,0); //GYM
    SetPlayerMapIcon(playerid,40,1937.7920,2307.2471,10.8203,61,0); //24/7
    SetPlayerMapIcon(playerid,41,2224.9878,2522.8696,11.2222,12,0); //Church
    SetPlayerMapIcon(playerid,42,1658.4434,2250.0469,11.0701,16,0); //Casino
    SetPlayerMapIcon(playerid,43,2187.7148,2469.6643,11.2422,55,0); //Gas Station
    SetPlayerMapIcon(playerid,44,2247.6421,2396.1680,10.8203,61,0); //24/7
    SetPlayerMapIcon(playerid,45,2184.2158,2295.5896,10.8203,23,0); //VIP Lounge
    SetPlayerMapIcon(playerid,46,2840.3630,1290.5593,11.3906,42,0); //Train Station (1)
    SetPlayerMapIcon(playerid,47,1672.5367,1447.9128,10.7881,5,0); //Airport
    SetPlayerMapIcon(playerid,48,2169.4102,2795.8047,10.8203,10,0); //Burger Shot
    SetPlayerMapIcon(playerid,49,2083.4175,2224.7014,11.0234,29,0); //Well Stacked Pizza
    SetPlayerMapIcon(playerid,50,2090.5415,2224.6953,11.0234,45,0); //ZIP
    SetPlayerMapIcon(playerid,51,2097.6763,2224.6965,11.0234,61,0); //24/7
    SetPlayerMapIcon(playerid,52,2101.8977,2228.8394,11.0234,14,0); //Cluckin' Bell
    SetPlayerMapIcon(playerid,53,2101.8940,2257.4641,11.0234,45,0); //Binco
    SetPlayerMapIcon(playerid,54,2367.0542,2071.0286,10.8203,10,0); //Burger Shot
    SetPlayerMapIcon(playerid,55,2393.1484,2041.6357,10.8203,14,0); //Cluckin' Bell
    SetPlayerMapIcon(playerid,56,1433.4186,2613.2285,11.3926,42,0); //Train Station (2)
Reply
#2

You used "3" 2 times:
PHP код:
       SetPlayerMapIcon(playerid,3,-2442.6968,755.4182,12.2969,62,0); //Supa Save (UPDATED)
     
SetPlayerMapIcon(playerid,3,-2270.6479,-155.9576,35.3203,54,0); //SF GYM (UPDATED) 
Reply
#3

What do you mean by you used 3 2 times?
Reply
#4

Quote:
Originally Posted by ManGoe
Посмотреть сообщение
What do you mean by you used 3 2 times?
After playerid: 3
Reply
#5

  1. You are using duplicate map icon ids, as Fantje already pointed out. https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
  2. You can only have 100 map icons (limits), you have 110 --> Use a streamer.
Reply
#6

Got the errors thanks Vince and Fantje The numbers were placed wrongly .
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)