[INC/STREAM] IconControl V.1.1 »Mapicon Streamer«
#1

IconControl V.1.1
»What is it?
-Its a mapicon streamer which streams unless mapicons

»How many mapicons does IconControl stream?
-I setted the limit to 1000 but you can edit it

»Are there any bugs?
-No, but if you find bugs report it please

_________________________________________________

»Functions:

CreateMapIcon(markerid, color, Float:X, Float:Y, Float:Z);
Create a mapicon.

DestroyMapIcon(iconid);
Destroy a mapicon.

ResetMapIconVariables(playerid)
Reset mapicon variables for a player.

IsValidMapIcon(iconid);
This functions checks if it is a valid map icon.

IsIconActivatedForPlayer(playerid, iconid);
This functions checks if the mapicon is activated for a player.

IsIconActivatedForAll(iconid);
This functions checks if the mapicon is avtivated for every player.

SetMapIconPos(iconid, Float:X, Float:Y, Float:Z);
Change the mapicon position.

SetMapIconIcon(iconid, markerid, color);
Change the mapicon icon.

SetMapIconColor(iconid, color);
Change the mapicon color.

GetMapIconPos(iconid, &Float:X, &Float:Y, &Float:Z);
Return the coordinates of a mapicon.

GetMapIconIcon(iconid);
Return the mapicon icon.

GetMapIconColor(iconid);
Return the mapicon color.

ShowMapIconForPlayer(playerid, iconid);
Show mapicon for a player.

ShowMapIconForAll(iconid);
Show mapicon for all.

ShowAllMapIconForPlayer(playerid);
Show every mapicon for player.

ShowAllMapIconForAll();
Show every mapicon for all.

DisableMapIconForPlayer(playerid, iconid);
Disable mapicon for a player.

DisableMapIconForAll(iconid);
Disable mapicon for all.

DisableAllMapIconForPlayer(playerid);
Disable every mapicon for a player.

DisableAllMapIconForAll();
Disable every mapicon for all.

_________________________________________________

»How to install?

-Put the include in your include order.
-Write at the beginning of your script: #include <MapIconStreamer>
-Write under OnPlayer(Dis)connect: ResetMapIconVariables(playerid);

_________________________________________________


Download V.1.1:


New Version: Pastebin: http://pastebin.com/f37785af8
Bugged Version: Pastebin: http://pastebin.ca/915089
Rapidshare: http://rapidshare.com/files/94238514...eamer.inc.html
Reply
#2

that looks an awful lot like a version of tAxI's streamer with renamed crap
Reply
#3

nice include men :P
Reply
#4

I tested this locally and it seems to work without too much CPU usage, im gonna test it online right now
Reply
#5

If this works like its supposed to Great job i will be using this for my houses so people can no if there buyable or not
Reply
#6

very very nice!!
Reply
#7

nice one
Reply
#8

its been running fine here for a few hours so far, nice job
Reply
#9

Quote:
Originally Posted by Jashugan
its been running fine here for a few hours so far, nice job
Where?
Reply
#10

IP at the bottom of my signature.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)