SetPlayerColor - 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: SetPlayerColor (
/showthread.php?tid=198476)
SetPlayerColor -
vent - 12.12.2010
How to turn off colours for names?
Re: SetPlayerColor -
SkizzoTrick - 12.12.2010
Search in your script all the lines "SetPlayerColor"
Then put this
pawn Код:
//Define the COLOR_WHITE
public OnPlayerSpawn(...)
{
SetPlayerColor(playerid,COLOR_WHITE);
return 1;
}
Re: SetPlayerColor -
vent - 12.12.2010
But it shows the white dot on map.
Re: SetPlayerColor -
Marcel - 12.12.2010
https://sampwiki.blast.hk/wiki/ShowPlayerMarkers
Re: SetPlayerColor -
SkizzoTrick - 12.12.2010
Quote:
Originally Posted by vent
But it shows the white dot on map.
|
You didn't said the markers,you said only the color xD
Nvm,use the tutorial from Marcel
Re: SetPlayerColor -
vent - 12.12.2010
Marcel, i dont want to show marker to anybody.
Re: SetPlayerColor -
Marcel - 12.12.2010
If you would have checked the wiki page, you would have seen that you should put this in OnGameModeInit():
PLAYER_MARKERS_MODE_OFF (0)
PLAYER_MARKERS_MODE_GLOBAL (1)
PLAYER_MARKERS_MODE_STREAMED (2)
This is stated in the Wiki page, if you would have checked the page for a few seconds you would have noticed this! We are not going to do everything for you!
Re: SetPlayerColor -
vent - 12.12.2010
Thanks, now it works.
Re: SetPlayerColor -
Pooh7 - 12.12.2010
Sorry, but I have one question about markers.
How do I make when admin turn on a duty to show everyone his marker, and marker of other players not to show?
Re: SetPlayerColor -
Marcel - 12.12.2010
Sorry, I don't understand your question. But if you want to show all markers again, use
If you want to hide or show a marker for one specific player you have to use
Which can be found here (with examples):
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer