27.05.2011, 16:49
help me please I cann't create house icons ... how to create tell me please :S
I want house icons on map... and I cann't do it.. I don't have any codes...
|
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 0)
{
CreateDynamicMapIcon(HouseInfo[h][hEntrancex],HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez],31,0);
}
else if(HouseInfo[h][hOwned] == 1)
{
CreateDynamicMapIcon(HouseInfo[h][hEntrancex],HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez],32,0);
}
}
return 1;
}