Player Icon Mark , Help
#1

Hello, guys in my server there are stunts, so everyone can see each other, in the deathmatch i want to hide all the icons which are showed in the map , and the names tags everything! i failed cuz the players colors has been changed when i scripted that please anyone know how to script it with out bug the colors thank you !
This did not worked :/ i need only in deathmatch
Код:
public OnGameModeInit()
{
  //0 = Plaryer markers invisible/ 1 = What you have right now/ 2 = Only in 20 meter radius of the player
  ShowPlayerMarkers(0);
}
+rep for the helper :P
Reply
#2

https://sampwiki.blast.hk/wiki/ShowPlayerMarkers

Read the documentation thoroughly. It can be used only in OnGamemodeInit, later in game you have to use https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
Reply
#3

How to returns the players org colours?
Reply
#4

The wiki for SetPlayerMarkerForPlayer has exactly the example you are looking for. Remember that you have to use SetPlayerColor first.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)