SA-MP Forums Archive
[Help Request] Show players location on map. - 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: [Help Request] Show players location on map. (/showthread.php?tid=246833)



[Help Request] Show players location on map. - xSido - 06.04.2011

As title says, i need help with a script that will show the location of online players on the map.
its no necessary to be different colored for each faction, one single color for all players is good too.

i tried to search this script before making this thread, but i failed. (maybe because i dont know the exact name of the script)

so, if any of u got a link for this script, or can post the script, please do it :P

/thanks.


Re: [Help Request] Show players location on map. - Elka_Blazer - 06.04.2011

under OnPlayerConnect(playerid)
add
pawn Код:
SetPlayerColor(playerid,0xff00ccff);



Re: [Help Request] Show players location on map. - xSido - 06.04.2011

ty for answer but,
not working...


Re: [Help Request] Show players location on map. - Elka_Blazer - 06.04.2011

look at this picture
CLICK ME

This is what you want ? to see the players on the map as a square?



Re: [Help Request] Show players location on map. - xSido - 06.04.2011

yes.


Re: [Help Request] Show players location on map. - vladi866 - 06.04.2011

put this under OnGameModeinit
PHP код:
ShowPlayerMarkers(true); 



Re: [Help Request] Show players location on map. - xSido - 06.04.2011

Quote:
Originally Posted by vladi866
Посмотреть сообщение
put this under OnGameModeinit
PHP код:
ShowPlayerMarkers(true); 
this no work eather :/

btw, i guess i must put this inside the { } of (OnGameModeinit).
because if i dont, i get an error to pawno with "Dont Send"


Re: [Help Request] Show players location on map. - eDz0r - 06.04.2011

On
Somewhere must be

pawn Код:
ShowPlayerMarkers
Just search it and change like this
pawn Код:
ShowPlayerMarkers(1);



Re: [Help Request] Show players location on map. - xSido - 06.04.2011

Quote:
Originally Posted by eDz0r
Посмотреть сообщение
On
Somewhere must be

pawn Код:
ShowPlayerMarkers
Just search it and change like this
pawn Код:
ShowPlayerMarkers(1);

i had it like this
pawn Код:
//ShowPlayerMarkers(false);
and i made it like u said.
but also tried with this

pawn Код:
ShowPlayerMarkers(true);
and still nothing.


Re: [Help Request] Show players location on map. - xSido - 06.04.2011

anyone ?