SA-MP Forums Archive
families colors - 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: families colors (/showthread.php?tid=473608)



families colors - iBots - 03.11.2013

i have scripted gang colors,i mean colored names above head,only if he is in a gang/family,the color depends on the gang /family color,but it shows a marker on the mini map,and i dont want it to show the marker,how to remove this marker?


Re: families colors - ea8de1 - 03.11.2013

It will help you: SetPlayerMarkerForPlayer ?


Re: families colors - Jankingston - 03.11.2013

SetPlayerColor(playerid, colorname);

it will help


Re: families colors - iBots - 03.11.2013

i mean that i need the color but without marker on minimap


Re: families colors - iBots - 03.11.2013

i mean i want the color without marker


Re: families colors - ea8de1 - 04.11.2013

Do you want to completely remove the marker or leave it like a normal player?


Re: families colors - Brandon_More - 04.11.2013

Код:
ShowPlayerMarkers(0);
Add to
Код:
OnGameModeInIt()



Re: families colors - iBots - 04.11.2013

let me explain u
i have made gang colors,example
if(PlayerInfo......[pfam] == 1
SetPlayerColor(playerid, COLOR_GREEN)
thats how i made it,it doesnt show warning or errors but when the player logs in,and he is in a family,and he got his gang color on his name a colored marker will be on minimap ,how can i keep the colors of the gangs but without markers on the minimap?


Re: families colors - RayDcosta - 04.11.2013

sir, if you only used setplayercolor, its not supposed to show the marker.
in case it does show, use ShowPlayerMarkers(0); under OnGameModeInit, like good sir Brandon More stated.
cheers