SA-MP Forums Archive
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: Map Icon (/showthread.php?tid=400424)



Map Icon - arko123 - 18.12.2012

Removed


Re: Map Icon - mineralo - 18.12.2012

pawn Код:
Public OnPlayerConnect(playerid) {

SetPlayerMapIcon(playerid, 1, 1000.5874, -919.8868, 42.3281, 17, 0, MAPICON_GLOBAL); // 24/7
SetPlayerMapIcon(playerid, 2, 1928.5811, -1776.3324, 13.5469, 17, 0, MAPICON_GLOBAL); // 24/7
SetPlayerMapIcon(playerid, 3, 691.5794, -1275.8429, 13.5607, 60, 0, MAPICON_GLOBAL); // VIP
SetPlayerMapIcon(playerid, 4, 1457.0212, -1009.9204, 26.8438, 52, 0, MAPICON_GLOBAL); // Bank
SetPlayerMapIcon(playerid, 6, 1171.8193, -1323.3647, 15.4030, 22, 0, MAPICON_GLOBAL); // Hospital
SetPlayerMapIcon(playerid, 7, 2029.6313, -1401.6702, 17.2516, 22, 0, MAPICON_GLOBAL); // Hospital
SetPlayerMapIcon(playerid, 8, 1555.5010, -1675.5391, 16.1953, 30, 0, MAPICON_GLOBAL); // LSPD
SetPlayerMapIcon(playerid, 9, 461.6926, -1500.7450, 31.0460, 45, 0, MAPICON_GLOBAL); // Clothes Store
SetPlayerMapIcon(playerid, 10, 538.8852, -1293.9309, 17.2422, 55, 0, MAPICON_GLOBAL); // Vehicle Dealership
Код:
SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style)
iconid should be different !


Re: Map Icon - iggy1 - 18.12.2012

No, that's the id (or model) of the icon, could well be called icon-model.


EDIT: Ignore me sorry i thought it was map icons. Not playermapicons.


Re: Map Icon - arko123 - 18.12.2012

Thanks