[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


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)