Double-O-Icons
Hi,
I've made a map icon streamer for my gamemode, because I couldn't find a good streamer or a streamer with a working link.
So, I've made my own one. No flickering icons, max 32 and limit set 500. (change it if you like)
Functions:
Code
InitMapIconStreaming(); - Use this in your script to start streaming, you should use AFTER creating all map icons.
CreateMapIcon(modelid,color,Float:x,Float:y,Float:z); - Create a mapicon.
DestroyMapIcon(id); - Destroy an mapicon.
MapIconUpdate(); - Don't use this in your script.
ResetMapIcons(playerid); - Use this when a player disconnects.
GetClosestUnusedMapIcon(playerid) - You don't need to use this.
GetDistanceToPoint(playerid,Float:x,Float:y,Float:z); - You can use this for other things in your script, too.
Sorry, dass es Englisch ist, habe einfach den Text aus meinem Post auf sa-mp.com kopiert^^, sollte aber kein Problem sein