SA-MP Forums Archive
when i get closer to those map icons they dissapear from my map... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: when i get closer to those map icons they dissapear from my map... (/showthread.php?tid=424082)



when i get closer to those map icons they dissapear from my map... - Apenmeeuw - 20.03.2013

hey all,

as the title says, when i get closer to those mapicons, they just dissapear, and they dont come back...

whats wrong with this? i got those added at onplayerspawn

pawn Код:
SetPlayerMapIcon( playerid, MAPICON_BAR, 2310.9290,56.5071,26.7722, 49, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, MAPICON_AMMU, 2333.0852,61.6654,26.7058, 6, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, MAPICON_PIZZA, 2331.8083,75.0954,26.6210, 29, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, MAPICON_MECH, 2580.6499,86.6092,26.7000, 55, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, MAPICON_AA, 2259.2793,63.2278,26.4844, 18, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, MAPICON_DD, 2316.2935,-61.9182,26.4844, 24, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, MAPICON_WF, 2441.5969,75.7819,27.6785, 46, 0, MAPICON_LOCAL );
those MAPICON_AMMU etc are all defined, ranging from 0 to 7.


greets