Why the hell?
#1

Why the hell this Map Icon doesn't show up >.<
pawn Код:
public OnPlayerConnect(playerid)
{
SetPlayerMapIcon(playerid, 90, 2204.9468, 1480, -1769, 19, 0);
return 1;
}
Reply
#2

90 is not a valid icon id
look here:
https://sampwiki.blast.hk/wiki/MapIcons
Reply
#3

Make them in order, the id's.

So if you have 9 icons, set the id down the list counting, like:

1
2
3
4
5
6
7
8
9

as the ids. Not just some random one(s).
Reply
#4

https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
and I tried it with id 1 still...
Reply
#5

Quote:
Originally Posted by ViruZZzZ_ChiLLL
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
and I tried it with id 1 still...
Try re-creating it I guess. And to prevent confusion when you make it, use a creator. I seen one somewhere in the FS releases where you type "/createmapicon" then just customize the icon's picture. Hope I helped...
Reply
#6

The only difference between your line:
pawn Код:
SetPlayerMapIcon(playerid, 90, 2204.9468, 1480, -1769, 19, 0);
And the line on Wiki:
pawn Код:
SetPlayerMapIcon( playerid, 12, 2204.9468, 1986.2877, 16.7380, 52, 0 );
is the space infront of the playerid
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)