MapIcon problem - 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: MapIcon problem (
/showthread.php?tid=429807)
---------- -
K3nX - 11.04.2013
----------
Re: MapIcon problem -
SomebodyAndMe - 11.04.2013
Follow the wiki.
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Reason why you have the white square:
"Note: If you use an invalid icon ID, it will create ID 1 (White Square)"
---------- -
K3nX - 11.04.2013
----------
Re: MapIcon problem -
DanLore - 11.04.2013
pawn Код:
SetPlayerMapIcon(playerid, 12, 2097.2961, -1806.6128, 13.5534, 29, 0, MAPICON_LOCAL);
Why you had this error:
You're using what it looks like to be four co-ordinates
2097.2961,
-1806.6128,
13.5534,
274.3235
You only need the first three.
Код:
SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style)