02.09.2011, 19:12
Hi,
I got a little issue with using Incongito's Streamer.
The problem is:
I want to display a Map Icon for every business that is loaded by my script. The code which handles this looks like this:
It is located at OnGameModeInit .
The Issue is: It does display the Icon, but it always displays 2 at one time, that means one overlays the other one and that looks really bad.
I got a little issue with using Incongito's Streamer.
The problem is:
I want to display a Map Icon for every business that is loaded by my script. The code which handles this looks like this:
pawn Код:
for(new idx = 0; idx < sizeof(BizzInfo) ; idx++)
{
new bicon;
switch(BizzInfo[idx][Type])
{
case 0: //Tankstelle
{
bicon = 56;
}
case 1: //Essensbizz
{
bicon = 50;
}
case 2: //Ammu Nation
{
bicon = 18;
}
default:
{
bicon = 1;
}
}
BizzInfo[idx][BIcon] = CreateDynamicMapIcon(BizzInfo[idx][EnterX],BizzInfo[idx][EnterY],BizzInfo[idx][EnterZ],bicon,0);
}
The Issue is: It does display the Icon, but it always displays 2 at one time, that means one overlays the other one and that looks really bad.