Hallo zusammen.
Ich habe problem mit den Map Icons, und zwahr es werden nicht alle angezeigt...
so habe ich das gemacht:
if(MapIconsShown[playerid] != 1)
{
MapIconsShown[playerid] = 1;
for(new i = 0; i < sizeof(BizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ],52,COLOR_LIGHTRED);
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,SBizzInfo[i][sbEntranceX],SBizzInfo[i][sbEntranceY],SBizzInfo[i][sbEntranceZ],36,COLOR_LIGHTRED);
}
for(new i = 0; i < sizeof(GShopInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,GShopInfo[i][GSEntranceX],GShopInfo[i][GSEntranceY],GShopInfo[i][GSEntranceZ],18,COLOR_LIGHTRED);
}
for(new i = 0; i < sizeof(AShopInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,AShopInfo[i][ASEntranceX],AShopInfo[i][ASEntranceY],AShopInfo[i][ASEntranceZ],6,COLOR_LIGHTRED);
}
for(new i = 0; i < sizeof(TankstellenInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,TankstellenInfo[i][tsEntranceX],TankstellenInfo[i][tsEntranceY],TankstellenInfo[i][tsEntranceZ],42,COLOR_LIGHTRED);
}
/*for(new i = 0; i < sizeof(HouseInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ],52,COLOR_LIGHTRED);
}*/
for(new i = 0; i < sizeof(HouseInfo); i++)
{
if(HouseInfo[h][hOwned] == 0)
{
SetPlayerMapIcon(playerid,i + 20,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez],31,COLOR_LIGHTRED);
}
if(HouseInfo[h][hOwned] == 1)
{
SetPlayerMapIcon(playerid,i + 20,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez],32,COLOR_LIGHTRED);
}
}
an was liegt das?