Problem on Map Icons - HELP ! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem on Map Icons - HELP ! (
/showthread.php?tid=271482)
Problem on Map Icons - HELP ! -
MrBlake - 24.07.2011
Hi everyone ! I Have a problem with the Map Icons.
I added 73 Map Icons in diferent locations. And when I connect to my server i don't see any icon on the map!
Please Help me, what's wrong ?
Here are an example of map icon in my gamemode:
Код:
public OnPlayerConnect(playerid)
{
new zone[MAX_ZONE_NAME];
GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
//===============// MAP ICONS //=============================//
//------------------------------------------------------------------------//
SetPlayerMapIcon(playerid, 46, 1538.15, -1672.51, 5.89, 30, 0);
Re: Problem on Map Icons - HELP ! -
MoroDan - 24.07.2011
You forget the last parameter:
the style ( CLICK ME )
But don't add the map icon at onplayerconnect, or add it once with a check variable ...
Re: Problem on Map Icons - HELP ! -
MrBlake - 24.07.2011
In the example of Wiki
The map icons are located under public OnPlayerConnect . Look >
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon <
And thanks for your help
Re: Problem on Map Icons - HELP ! -
MrBlake - 24.07.2011
I put the style on all map icons but now i see JUST THE LAST Icon in my GameMode on the MAP.
Any suggestions ?
The new code:
Код:
SetPlayerMapIcon(playerid, 46, -1957.63, -852.80, 32.22, 36, 0, 1);
Re: Problem on Map Icons - HELP ! -
MrBlake - 24.07.2011
Solved, thanks !
The problem > All icon's id was 46. And i replace 46,46,46,46 with 1,2,3,4 for example. Now it's OK !
Close, please !