SA-MP Forums Archive
when army is onduty they are shown on the 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)
+--- Thread: when army is onduty they are shown on the map!? (/showthread.php?tid=433330)



when army is onduty they are shown on the map!? - Don_Cage - 27.04.2013

Like the title say, Only army has this problem, so im wondering what line(s) that makes player show on the map?
The colored square thing i mean.


Re: when army is onduty they are shown on the map!? - Don_Cage - 27.04.2013

anyone?


Re: when army is onduty they are shown on the map!? - M3hdi - 27.04.2013

don't understand you explain more?


Re: when army is onduty they are shown on the map!? - Don_Cage - 27.04.2013

On DM servers etc for example you can see the players on the map shown as small colored squares.
When ever someone in Army faction goes on duty in my RP server the same thing happens. If you press up the map you will see a colored square where he is. I want to remove that but i dont know what line is making it happen.


Re: when army is onduty they are shown on the map!? - M3hdi - 27.04.2013

Can you try to find it in your script? otherwise we cant figure it out


Re: when army is onduty they are shown on the map!? - Don_Cage - 27.04.2013

Thats what im saying.. I dont know what causes this, that is why i am asking what it is that makes a player get an icon on the map


Re: when army is onduty they are shown on the map!? - Onfroi - 27.04.2013

Should be at OnPlayerSpawn, something like...
pawn Код:
SetPlayerColor(playerid, ......);
or it might be SetPlayerMarkers


Re: when army is onduty they are shown on the map!? - Don_Cage - 27.04.2013

hm i found this ShowPlayerMarkers(2); could that couse it?

EDIT: but shouldnt that make every player show? cuz it is ONLY army faction if they are on duty


Re: when army is onduty they are shown on the map!? - Onfroi - 27.04.2013

Quote:
Originally Posted by Don_Cage
Посмотреть сообщение
hm i found this ShowPlayerMarkers(2); could that couse it?

EDIT: but shouldnt that make every player show? cuz it is ONLY army faction if they are on duty
Than might want to try using SetPlayerColor for Army Faction.


Re: when army is onduty they are shown on the map!? - Don_Cage - 27.04.2013

allready doing