[HELP] SetPlayerMapIcon
#1

I have these map icons but only a few show most of them dont show :S

And i cant seam to get the style to work it says its undefined :S MAP_LOCAL etc etc

Any help?

pawn Код:
SetPlayerMapIcon(playerid, 5,1769.0446,-2457.3223,13.5547, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,1608.1147,-2456.7627,13.5547, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,-1246.6703,-364.4805,14.1484, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,-1469.0402,-154.1541,14.1484, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,1554.1331,1391.2155,10.8571, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,1568.9011,1553.0851,10.8203, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,1345.1649,1684.2406,10.8203, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,-1596.4508,-620.5513,14.1484, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,2010.8324,-2444.1675,13.5469, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,308.6336,2043.4705,17.6406, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,-1454.5779,501.4002,18.2653, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,1904.4658,-2260.4255,13.5469, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,-1205.9292,7.4481,14.1484, 5, 0);//Airport Flights Loading Zones
    SetPlayerMapIcon(playerid, 5,1360.2498,1277.8103,10.8203, 5, 0);//Airport Flights Loading Zones

    SetPlayerMapIcon(playerid, 41,1788.9081,-2593.3501,13.5469, 41, 0);//Finishing Zones
    SetPlayerMapIcon(playerid, 41,-1365.1437,127.9266,14.1409, 41, 0);//Finishing Zones
    SetPlayerMapIcon(playerid, 41,1432.7760,1463.2794,10.8203, 41, 0);//Finishing Zones
    SetPlayerMapIcon(playerid, 41,-1372.2456,507.6202,18.2344, 41, 0);//Finishing Zones
    SetPlayerMapIcon(playerid, 41,281.9347,1930.9595,17.6406, 41, 0);//Finishing Zones
    SetPlayerMapIcon(playerid, 41,266.5612,2503.9238,16.4844, 41, 0);//Finishing Zones
   
    SetPlayerMapIcon(playerid, 22,1987.2528,-1463.3899,13.3906, 22, 0);//Hospital Finishing Zones
    SetPlayerMapIcon(playerid, 22,-2567.9507,600.2425,14.4592, 22, 0);//Hospital Finishing Zones
    SetPlayerMapIcon(playerid, 22,1605.3054,1845.3446,10.8203, 22, 0);//Hospital Finishing Zones

Thanks In Advanced!
Reply
#2

Their ID's are equal. Should be different:
[pawn]SetPlayerMapIcon(playerid, ID, x, y, z, IconID, 0);

You're putting all like 22, 41 and 5. Change these, and put for each one a different ID.

Like: 0,1,2,3,4,5,6,7,8,9,10....
Reply
#3

whats the diffrence between ID and IconID ?? Wiki failed to explain this xD
Reply
#4

id is the id of setplayermapico youre doing, and iconid the picture
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)