Hi,
After I've recognized that my old streamer (Double-O-Icons) wasn't very fast, I've decided to rewrite it!
This one is much faster, so the old one suxx...
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.
KLICK for Pastebin
KLICK to download
So, have fun! ![]()
And please report bugs!
Sorry, dass es nur in Englisch ist, aber das sollte kein Problem sein ![]()