SA-MP Forums Archive
i cant see map icons - 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: i cant see map icons (/showthread.php?tid=394632)



i cant see map icons - Anak - 23.11.2012

hello i have a little problem
for my new release i do "SetPlayerMapIcon"
but i cant see any icon ingame here are codes

pawn Код:
public OnPlayerConnect( playerid )
{
    SetPlayerMapIcon( playerid, 1, 2518.9438,2033.4197,11.1719, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 2, 2438.3315,1293.3265,10.8203, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 3, 1454.9628,750.7225,11.0234, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 4, 2224.8857,2522.8042,11.2222, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 5, 2490.7073,918.4574,11.0234, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 6, 2256.7214,-44.6454,26.8834, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 7, 2233.9407,-1333.1833,23.9815, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 8, 898.7634,-1068.7056,24.4807, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 9, -2664.2522,-3.5783,6.1328, 12, 0, MAPICON_LOCAL );
    SetPlayerMapIcon( playerid, 10, -1989.8879,1117.9069,54.4688, 12, 0, MAPICON_LOCAL );
}



Re: i cant see map icons - SKAzini - 23.11.2012

You must be near the coordinates to see them. Simply change the MAPICON_LOCAL to MAPICON_GLOBAL and then you'll see that they're always there.


Re: i cant see map icons - Anak - 23.11.2012

still cant see


Re: i cant see map icons - ViniBorn - 23.11.2012

When you are close to point, can you see?


Re: i cant see map icons - Anak - 23.11.2012

no i cant see ... any thing


Re: i cant see map icons - ViniBorn - 23.11.2012

Try to put return 1;


Re: i cant see map icons - Anak - 23.11.2012

not any effect