Player MapIcon Help!
#1

I want to set 5 player map icons throughout my map.. I set them all to global so all players could see them. But, when I started up my server, only 1 map icon was visible, and that is map icon ID 58... I don't have any "RemovemapIcon" coded in my server so.. This is what I have under OnPlayerConnect

pawn Код:
public OnPlayerConnect(playerid)
{
SetPlayerMapIcon( playerid, 1, 213.708129,1896.449096,16.587989, 62, 0, MAPICON_GLOBAL );
SetPlayerMapIcon( playerid, 1, -401.761535,2238.729492,42.429687, 58, 0, MAPICON_GLOBAL );
SetPlayerMapIcon( playerid, 1, -135.124938,1143.156860,19.742187, 60, 0, MAPICON_GLOBAL );
SetPlayerMapIcon( playerid, 1, 266.765167,2504.968261,16.484375, 61, 0, MAPICON_GLOBAL );
SetPlayerMapIcon( playerid, 1, -226.190475,2710.950927,62.976562, 58, 0, MAPICON_GLOBAL );
Reply
#2

How many map Icons are already on your server?
Reply
#3

Quote:
Originally Posted by NewerthRoleplay
Посмотреть сообщение
How many map Icons are already on your server?
None, they are the only map icons.
Reply
#4

Код:
public OnPlayerConnect(playerid)
{
SetPlayerMapIcon( playerid, 1, 213.708129,1896.449096,16.587989, 62, 0, MAPICON_GLOBAL );
SetPlayerMapIcon( playerid, 2, -401.761535,2238.729492,42.429687, 58, 0, MAPICON_GLOBAL );
SetPlayerMapIcon( playerid, 3, -135.124938,1143.156860,19.742187, 60, 0, MAPICON_GLOBAL );
SetPlayerMapIcon( playerid, 4, 266.765167,2504.968261,16.484375, 61, 0, MAPICON_GLOBAL );
SetPlayerMapIcon( playerid, 5, -226.190475,2710.950927,62.976562, 58, 0, MAPICON_GLOBAL );
Reply
#5

RedJohn is right, all of your icons had the same icon id, I was literally just about to mention that xD
Reply
#6

Yeah he's right! Thanks it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)