MapIcons(playerid);
OnPlayerSpawn
if(MapIconsShown[playerid] != 1){ MapIconsShown[playerid] = 1; for(new i = 0; i < sizeof(BizzInfo); i++){ SetPlayerMapIcon(playerid,i + 1,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ],36,COLOR_LIGHTRED);}for(new i = 0; i < sizeof(SBizzInfo); i++){ SetPlayerMapIcon(playerid,i + 20,SBizzInfo[sbEntranceX],SBizzInfo[sbEntranceY],SBizzInfo[sbEntranceZ],36,COLOR_LIGHTRED);}}return 1;}
CMD:mapikonok(playerid){ MapIcons(playerid);return 1;}stock MapIcons(playerid){SetPlayerMapIcon(playerid,0,2403.5590,-1981.9775,13.5468,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,1,2647.2651,-2038.8060,13.5540,27,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,2,2108.4819,-1806.5866,13.5546,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,3,2422.7255,-1509.6070,24.0000,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,4,2400.8779,-1899.1711,13.5468,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,5,1371.9958,-1278.9992,13.5468,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,6,931.9149,-1352.9104,13.3437,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,7,1044.0662,-1026.3266,32.1015,27,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,8,1202.2541,-918.1440,43.1232,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,9,813.4979,-1616.1248,13.5468,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,10,2336.0856,61.4916,26.7057,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,11,2334.8146,75.0486,26.6209,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,12,206.3541,-201.9672,1.5781,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,13,246.2898,-178.3427,1.5821,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,14,-2090.6696,-2464.9389,30.6250,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,16,-2152.2670,-2460.1052,30.8515,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,17,-2333.8652,-166.7010,35.5546,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,18,-2668.5490,257.9334,4.6328,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,19,-2622.8666,208.2375,4.8125,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,20,-1813.5213,618.6809,35.1718,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,21,-1909.4548,827.9328,35.2323,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,22,-1805.7889,945.8254,24.8906,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,23,-2352.8181,1008.1257,50.8984,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,24,-1717.9615,1359.3287,7.1853,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,25,-1505.8891,2610.6984,55.8359,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,27,-1210.7860,1830.3319,41.9296,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,28,-313.1616,829.8287,14.2421,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,29,176.0122,1177.1628,14.7578,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,30,779.7213,1871.3912,4.9065,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,31,1160.9226,2072.2885,11.0625,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,0,2086.4045,2224.6975,11.0234,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,1,2104.8947,2229.0590,11.0234,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,2,2162.5446,943.2021,10.8203,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,3,2172.4165,2795.8881,10.8203,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,4,2354.8786,2533.6264,10.8203,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,5,2759.8723,2477.2438,11.0625,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,6,2841.2304,2407.7241,11.0689,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,7,2396.1562,2041.5617,10.8203,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,8,2475.8449,2034.1597,11.0625,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,9,2542.5324,2083.9980,10.8203,6,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,10,2370.0187,2070.9213,10.8203,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,11,2641.7841,1849.7567,11.0234,29,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,12,2641.5844,1671.7551,11.0234,14,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,13,2389.7302,1043.2149,10.8203,27,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,14,1875.2575,2072.0109,11.0625,10,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,15,-2712.9370,217.4735,4.3475,27,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,16,-1932.5882,239.1218,34.3197,27,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,17,1098.0545,-647.9115,113.6484,47,0,MAPICON_LOCAL);SetPlayerMapIcon(playerid,18,983.4403,-677.2922,121.9762,38,0,MAPICON_LOCAL);}return 1;}