House Icon - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: House Icon (
/showthread.php?tid=151255)
House Icon -
Mr_DeViL - 29.05.2010
Код:
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?
Re: House Icon -
(SF)Noobanatior - 29.05.2010
can you show the whole function and how many houses do you have?? >40?
Re: House Icon - WackoX - 29.05.2010
Does it show only a few or just none?
Re: House Icon -
Mr_DeViL - 29.05.2010
none, I Have 78 Houses
Re: House Icon -
(SF)Noobanatior - 29.05.2010
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?