я поставил иконки на карту,первый раз они все у меня были,но в следущие разы часть есть часть нету! с меня + за помощь Добавлено (23.02.2010, 07.44)
---------------------------------------------
вот у меня код с иконками я сделал .теперь у меня иконки показывает которые я поставил а иконки домов и бизов нет вот код
SetPlayerToTeamColor(playerid);
PlayerFixRadio(playerid);
{
SetPlayerMapIcon(playerid,1,1968.8883,2295.1873,16.4559,54,0);
SetPlayerMapIcon(playerid,2,1766.0215,2759.7854,10.8359,58,0);
SetPlayerMapIcon(playerid,3,2299.2390,2446.1685,46.9775,30,0);
SetPlayerMapIcon(playerid,4,2019.6753,1007.7426,46.9682,48,0);
SetPlayerMapIcon(playerid,5,2386.5349,1003.7787,10.8203,27,0);
SetPlayerMapIcon(playerid,6,1279.6617,-791.0530,96.4609,24,0);
SetPlayerMapIcon(playerid,7,892.7557,-1094.4614,23.8291,59,0);
SetPlayerMapIcon(playerid,8,1564.6760,-1675.3766,61.8914,30,0);
SetPlayerMapIcon(playerid,9,2488.0901,-1669.6008,13.3359,62,0);
SetPlayerMapIcon(playerid,10,2768.1968,-1948.0508,13.3522,61,0);
SetPlayerMapIcon(playerid,11,1823.9764,-2009.0031,13.5544,60,0);
SetPlayerMapIcon(playerid,12,733.0051,-1433.4996,13.5318,36,0);
SetPlayerMapIcon(playerid,13,700.8511,-1276.1912,30.0022,25,0);
SetPlayerMapIcon(playerid,14,1165.1746,-2037.5449,69.0078,25,0);
SetPlayerMapIcon(playerid,15,2501.5369,1562.8661,10.8203,25,0);
SetPlayerMapIcon(playerid,16,2600.9771,1794.1182,10.8203,25,0);
SetPlayerMapIcon(playerid,17,1246.9596,-1816.5474,13.4146,22,0);
SetPlayerMapIcon(playerid,18,2782.4446,-2437.4661,13.6350,51,0);
SetPlayerMapIcon(playerid,19,1481.2640,-1790.1420,156.7533,56,0);
SetPlayerMapIcon(playerid,20,1640.3116,-2331.3010,13.5469,38,0);
return 1;
}
for(new i = 0; i < sizeof(Turfs); i++)
{
GangZoneShowForPlayer(playerid, i, TurfInfo[i][zColor]);
}
if(MapIconsShown[playerid] != 1)
{
MapIconsShown[playerid] = 1;
for(new i = 0; i < sizeof(BizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 1,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ],52,COLOR_GREEN);
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,SBizzInfo[i][sbEntranceX],SBizzInfo[i][sbEntranceY],SBizzInfo[i][sbEntranceZ],52,COLOR_GREEN);
}
for(new i = 0; i < sizeof(HouseInfo); i++)
{
if(HouseInfo[i][hOwned] == 0)
{
SetPlayerMapIcon(playerid, i++, HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez],31,COLOR_GREEN);
}
if(HouseInfo[i][hOwned] == 1)
{
if(PlayerInfo[playerid][pPhousekey]==i)
{
SetPlayerMapIcon(playerid,i++,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez],32,COLOR_LIGHTRED);
}
else
{
SetPlayerMapIcon(playerid, i++, HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez],32,COLOR_LIGHTRED);
}
}
}
}
return 1;
}