SA-MP Forums Archive
short question regarding ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); - 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)
+--- Thread: short question regarding ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); (/showthread.php?tid=455437)



short question regarding ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); - AIped - 01.08.2013

Okay in my server i want every player to see their marker at all times doesnt metter how far away they are.

So i used ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); but that doesnt do the trick.

Any suggestions ?


Re: short question regarding ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); - Necip - 01.08.2013

Are you sure that you added it under OnGameModeInit?


Re: short question regarding ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); - AIped - 01.08.2013

yea i did


Re: short question regarding ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); - Vince - 01.08.2013

You might have LimitPlayerMarkerRadius, or LimitGlobalChatRadius which also affects the markers. Or your colors simply aren't opaque.


Re: short question regarding ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); - IstuntmanI - 02.08.2013

Quote:
Originally Posted by AIped
Посмотреть сообщение
what did you mean with the colors arent ' opaque ' ?
Look at "Alpha values": https://sampwiki.blast.hk/wiki/Colors

Maybe you have another ShowPlayerMarkers somewhere in your gamemode ?


Vince - AIped - 02.08.2013

well
i dont use limitplayermarkerradius or the chat radius
Actually its the npc's markers i like to see and their playercolor and markercolor are pink

Quote:
Originally Posted by Vince
Посмотреть сообщение
You might have LimitPlayerMarkerRadius, or LimitGlobalChatRadius which also affects the markers. Or your colors simply aren't opaque.
what did you mean with the colors arent ' opaque ' ?

I do use SetPlayerMarkerForPlayer ..the players markers are invisible for eachother but everyone should be able to see the npcs markers.

Alright..i removed all functions like setplayercolor..setplayermarkerforplayer
checked if there was limitglobalchatradius or markers and they werent there.
I even removed all my filterscripts

I only have ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); in ongamemodeinit
and still i cant see the markers everywhere...this function is making fun with me GLOBAL my ass XD