SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 01/01/2009, 08:02 PM   #1
.Bino.
Little Clucker
 
Join Date: Aug 2008
Posts: 25
Reputation: 0
Default Need Help!

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?
.Bino. is offline  
Old 01/01/2009, 08:53 PM   #2
Pixels^
Huge Clucker
 
Join Date: Dec 2006
Posts: 425
Reputation: 22
Default Re: Need Help!

Is that code in a timer?
Pixels^ is offline  
Old 02/01/2009, 12:17 AM   #3
Grove
Huge Clucker
 
Join Date: Jan 2007
Posts: 299
Reputation: 6
Default Re: Need Help!

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.
Grove is offline  
Old 02/01/2009, 04:42 AM   #4
Danut
Gangsta
 
Join Date: Aug 2008
Posts: 534
Reputation: 0
Default Re: Need Help!

but we need to see this in GODFATHER TOPIC
Danut is offline  
Old 02/01/2009, 08:59 AM   #5
.Bino.
Little Clucker
 
Join Date: Aug 2008
Posts: 25
Reputation: 0
Default Re: Need Help!

Quote:
Originally Posted by Pixels^
Is that code in a timer?
no.. but only id 0 can see the icons.
.Bino. is offline  
Old 03/01/2009, 08:53 AM   #6
.Bino.
Little Clucker
 
Join Date: Aug 2008
Posts: 25
Reputation: 0
Default Re: Need Help!

up
.Bino. is offline  
Old 04/01/2009, 07:08 PM   #7
.Bino.
Little Clucker
 
Join Date: Aug 2008
Posts: 25
Reputation: 0
Default Re: Need Help!

upp
.Bino. is offline  
Old 09/01/2009, 02:46 PM   #8
.Bino.
Little Clucker
 
Join Date: Aug 2008
Posts: 25
Reputation: 0
Default Re: Need Help!

anyone
.Bino. is offline  
Old 09/01/2009, 02:47 PM   #9
ғαιιοцт
High-roller
 
ғαιιοцт's Avatar
 
Join Date: Feb 2008
Posts: 1,428
Reputation: 188
Default Re: Need Help!

Quote:
Originally Posted by Danut
but we need to see this in GODFATHER TOPIC
and don't quadripple post!
ғαιιοцт is offline  
Old 09/01/2009, 02:59 PM   #10
Kriztian
Big Clucker
 
Join Date: Jan 2009
Posts: 73
Reputation: 7
Default Re: Need Help!

^^SECOND!!!!

Be patient.

Go to Godfather post
Kriztian is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 07:52 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.