23.05.2012, 15:16
I can`t place more than one icon on the map.i have 6 but only one appears
.Can some one help?
Here is my code.
.Can some one help?Here is my code.
Код:
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xEBF224FF, "Welcome to BG Role Play");
SetPlayerMapIcon(playerid, 0,1003.0997,-937.1047,42.3281,38,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 0,1942.3748,-1772.8783,13.6406,38,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 0,655.0450,-566.5021,16.3359,38,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 0,1382.6870,459.7399,20.3452,38,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 0,-92.5087,-1171.0718,2.3948,38,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 0,542.3856,-1292.9645,17.2422,55,0,MAPICON_LOCAL);
playersconnected++;
new string[128];
format(string, sizeof(string), "There are %d people in the server",playersconnected);
SendClientMessageToAll(0xEBF224FF, string);
new pName[24];
new str[128];
GetPlayerName(playerid, pName, 24);
format(str, 128, "%s has joined the server", pName);
SendClientMessageToAll(0xAFAFAFAA, str);
return 1;
}

