I forgot something? or?
#3

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
pawn Код:
public OnPlayerSpawn(playerid)
{
      SetPlayerMapIcon(playerid, 12, 2015.3031, -1432.3176, 13.5468, 22, 0, MAPICON_GLOBAL); // Hospital
      SetPlayerMapIcon(playerid, 12, 1551.5587, -1675.5253, 15.9022, 30 , 0, MAPICON_GLOBAL); // Police
      return 1;
}
Just try that
Will not work, try this instead:

pawn Код:
public OnPlayerSpawn(playerid)
{
      SetPlayerMapIcon(playerid, 1, 2015.3031, -1432.3176, 13.5468, 22, 0, MAPICON_GLOBAL); // Hospital
      SetPlayerMapIcon(playerid, 2, 1551.5587, -1675.5253, 15.9022, 30 , 0, MAPICON_GLOBAL); // Police
      return 1;
}
Watch the second argument, it's the id, each mapicon needs another id.
Reply


Messages In This Thread
I forgot something? or? - by sjvt - 13.01.2011, 12:45
Re: I forgot something? or? - by Lorenc_ - 13.01.2011, 13:26
Re: I forgot something? or? - by Geso - 13.01.2011, 14:25

Forum Jump:


Users browsing this thread: 2 Guest(s)