Player Marker timer
#1

Hi guys, im new scripteur and i need help.

I want the "player markers" to be disabled and then activated a few seconds before being re-disabled.
With a timer.

Sorry for my bad english im French.

I have script that but did not working :

Код:
forward visible(playerid);
public visible(playerid)
{
	SetNameTagDrawDistance(100.0);
  	ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
  	SCM(playerid, -1, "> Joueurs visibles sur la minimap");
}
Reply
#2

ShowPlayerMarkers is for all players not just one.

Check out https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer

but you can also use SetPlayerColor and put the alpha to 00 and FF, that's what I suggest here if you don't want to make a loop...

rt-2
Reply
#3

Yeah thanks bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)