Help Map Icon
#1

I help with map icon please !
warning 202: number of arguments does not match definition

CreateMapIcon(32,-1, 2416.3967,1123.9270,10.8203, 52, 0);

IF SetPlayerMapIcon( playerid, 63, 1954.7623,2154.5234,10.3026, 52, 0, MAPICON_LOCAL ); does not work not displayed on map

Pleas help me with CreateMapIcon(32,-1, 2416.3967,1123.9270,10.8203, 52, 0);
Reply
#2

Are you aware that MAPICON_LOCAL, will only show the map icon if you're within it's range (on the HUD)?
You cannot use CreateMapIcon, as it's not a function?

To use SetPlayerMapIcon, put it in the 'OnPlayerSpawn(playerid)', callback.

The code you should use is: SetPlayerMapIcon( playerid, 63, 1954.7623,2154.5234,10.3026, 52, 0, MAPICON_LOCAL);

Take a look here as well: https://sampwiki.blast.hk/wiki/MapIconStyle
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)