SA-MP Forums Archive
ICON problem - 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)
+--- Thread: ICON problem (/showthread.php?tid=575607)



ICON problem - sscarface - 28.05.2015

I don't know why i can't add map icon anymore. I added into my script but it doesn't show in game.

PHP код:
    SetPlayerMapIcon(playerid932083.2770992224.45410111.023437290MAPICON_LOCAL ); ///      "Well Stacked Pizza Co" ,"The Emrald Isle"},
    
SetPlayerMapIcon(playerid942351.8339842533.23559510.820312290MAPICON_LOCAL ); /// "Well Stacked Pizza Co" ,"Roca Escalante"},
    
SetPlayerMapIcon(playerid952756.5468752476.89599611.062500290MAPICON_LOCAL ); ///     "Well Stacked Pizza Co" ,"Creek Mall"},
    
SetPlayerMapIcon(playerid962638.5327141849.79052711.023437290MAPICON_LOCAL ); ///  "Well Stacked Pizza Co" ,"LV Shopping Centre"},
    
SetPlayerMapIcon(playerid97, -1721.1853021359.7601317.185316290MAPICON_LOCAL ); ///  "Well Stacked Pizza Co" ,"Pier 69"},
    
SetPlayerMapIcon(playerid98, -1806.2128,943.9337,24.8906,         290MAPICON_LOCAL ); ///      "Well Stacked Pizza Co" ,"Financial"},
    
SetPlayerMapIcon(playerid99,  203.4076,-204.9042,1.5781,          290MAPICON_LOCAL ); ///  "Well Stacked Pizza Co" ,"Blueberry"},
    
SetPlayerMapIcon(playerid1002334.6284,74.9436,26.4838,          290MAPICON_LOCAL ); ///  "Well Stacked Pizza Co" ,"Palomino Creek"},
    
SetPlayerMapIcon(playerid1011364.5293,249.5937,19.5669,         290MAPICON_LOCAL ); /// "Well Stacked Pizza Co" ,"Montgomery"},
    
SetPlayerMapIcon(playerid1022102.3682,-1806.3228,13.5547,       290MAPICON_LOCAL ); ///      "Well Stacked Pizza Co" ,"Idlewood"}, 
It doesn't show icon in game . is there any problem or is there
PHP код:
  SetPlayerMapIcon(playerid98, -1806.2128,943.9337,24.8906,         290MAPICON_LOCAL ); ///      "Well Stacked Pizza Co" ,"Financial"}, 
    
SetPlayerMapIcon(playerid99,  203.4076,-204.9042,1.5781,          290MAPICON_LOCAL ); ///  "Well Stacked Pizza Co" ,"Blueberry"}, 
    
SetPlayerMapIcon(playerid1002334.6284,74.9436,26.4838,          290MAPICON_LOCAL ); ///  "Well Stacked Pizza Co" ,"Palomino Creek"}, 
    
SetPlayerMapIcon(playerid1011364.5293,249.5937,19.5669,         290MAPICON_LOCAL ); /// "Well Stacked Pizza Co" ,"Montgomery"}, 
    
SetPlayerMapIcon(playerid1022102.3682,-1806.3228,13.5547,       290MAPICON_LOCAL ); ///      "Well Stacked Pizza Co" ,"Idlewood"}, 



Re: ICON problem - Vince - 28.05.2015

You can "only" have 100. Use streamer.


Re: ICON problem - McGuiness - 28.05.2015

Quote:
Originally Posted by Vince
Посмотреть сообщение
You can "only" have 100. Use streamer.
He's right there, but it depends on how many you have added, did you make any more than those?


Re: ICON problem - sscarface - 28.05.2015

Quote:
Originally Posted by Vince
Посмотреть сообщение
You can "only" have 100. Use streamer.
Damn.. so i have to remove my script? and use steamer? is there anything i can remove this limit

Quote:
Originally Posted by McGuiness
Посмотреть сообщение
He's right there, but it depends on how many you have added, did you make any more than those?
Yes, ammunation icons , bar , burger shop and so on. BUt i think there's a limit that's why i can't see them icons in game. Help ? how to remove this limit.


Re: ICON problem - J4Rr3x - 28.05.2015

You can't remove this limit, but you can bypass this limit using Incognito's Streamer


Re: ICON problem - sscarface - 28.05.2015

Quote:
Originally Posted by J4Rr3x
Посмотреть сообщение
You can't remove this limit, but you can bypass this limit using Incognito's Streamer
Aight i got it,

but help me where should i add this?

PHP код:
native CreateDynamicMapIcon(Float:xFloat:yFloat:ztypecolorworldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0style MAPICON_LOCAL);
native DestroyDynamicMapIcon(iconid);
native IsValidDynamicMapIcon(iconid); 
Should i add this and should i write native in script? Or just CreateDynamicMapICON?


Re: ICON problem - sscarface - 28.05.2015

Aight, Im using streamer now, But i want set it as MAPICON_LOCAL. How to script to add MAPICON_LOCAL style? anyone help.?

Here's my code

PHP код:
CreateDynamicMapIcon(1368.447021, -1279.78247013.5468756, -1, -1, -1, -1100,);