Help Map Icon - 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: Help Map Icon (
/showthread.php?tid=548352)
Help Map Icon -
itachi - 29.11.2014
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);
Re: Help Map Icon -
iiNzTicTx - 29.11.2014
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