Need Help! - 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: Need Help! (
/showthread.php?tid=60128)
Need Help! -
.Bino. - 01.01.2009
I have a problem with the icon streamer of my GM.
this is the part:
Code:
for(new h = 0; h < sizeof(HouseInfo); h++)
if(HouseInfo[h][hOwned] == 0)
{
SetPlayerMapIcon(playerid, iconemappa, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 31, 0);
iconemappa ++;
}
else if(HouseInfo[h][hOwned] == 1)
{
SetPlayerMapIcon(playerid, iconemappa, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 32, 0);
iconemappa ++;
}
the mapicons are visible only for id 0... where is the mistake?
Re: Need Help! -
Pixels^ - 01.01.2009
Is that code in a timer?
Re: Need Help! -
Grove - 02.01.2009
We need to see where you are defining playerid, presumebly, it's only equal to the value of 0, hence the reason for it only working for player id 0.
Re: Need Help! -
Danut - 02.01.2009
but we need to see this in
GODFATHER TOPIC
Re: Need Help! -
.Bino. - 02.01.2009
Quote:
Originally Posted by Pixels^
Is that code in a timer?
|
no.. but only id 0 can see the icons.
Re: Need Help! -
.Bino. - 03.01.2009
up
Re: Need Help! -
.Bino. - 04.01.2009
upp
Re: Need Help! -
.Bino. - 09.01.2009
anyone
Re: Need Help! -
ғαιιοцт - 09.01.2009
Quote:
Originally Posted by Danut
|
and don't quadripple post!
Re: Need Help! -
Kriztian - 09.01.2009
^^SECOND!!!!
Be patient.
Go to Godfather post