House Icon
#1

Код:
for(new i = 0; i < sizeof(HouseInfo); i++)
{
		if(HouseInfo[i][hOwned] == 0)
			{
			SetPlayerMapIcon(playerid,i + 60,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][Entrancez],31,0x00000000);
			}
		else if(HouseInfo[i][hOwned] == 1)
			{
			SetPlayerMapIcon(playerid,i + 60,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez],32,0x00000000);
			}
}
Why it doesn't show Icon :S ? who can help me?
Reply
#2

can you show the whole function and how many houses do you have?? >40?
Reply
#3

Does it show only a few or just none?
Reply
#4

none, I Have 78 Houses
Reply
#5

for a start you have in there i+60 that number cant be higher than 99 60+78 == 138

and where are you running this how do you get playerid?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)