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.