[pwn][INC/STREAM] IconControl V.1.1 »Mapicon Streamer« 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
-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[/pwn]
А когда компилирую ошибки
[pwn]\GTO 0.6.5.1 B1\pawno\include\race.inc(1080) : warning 208: function with tag result used before definition, forcing reparse
\GTO 0.6.5.1 B1\pawno\include\race.inc(1084) : warning 208: function with tag result used before definition, forcing reparse
\GTO 0.6.5.1 B1\pawno\include\race.inc(1088) : warning 208: function with tag result used before definition, forcing reparse
\GTO 0.6.5.1 B1\pawno\include\deathmatch.inc(841) : warning 208: function with tag result used before definition, forcing reparse
\GTO 0.6.5.1 B1\pawno\include\deathmatch.inc(845) : warning 208: function with tag result used before definition, forcing reparse
\GTO 0.6.5.1 B1\pawno\include\deathmatch.inc(849) : warning 208: function with tag result used before definition, forcing reparse
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(1) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(3) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(5) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(8) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(11) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(14) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(17) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(20) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(22) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(22 -- 26) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(22 -- 29) : error 010: invalid function or declaration
\GTO 0.6.5.1 B1\pawno\include\mapicons_streamer.inc(22 -- 29) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
12 Errors.[/pwn]
Помогите плюс!