Show and hide player [In-Game] - 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: Show and hide player [In-Game] (
/showthread.php?tid=220035)
Show and hide player [In-Game] -
DartakousLien - 02.02.2011
My question is as follows
I was wondering how to make the marks appear and disappear ds players (icons on the radar) during the game
already tried to use "SetPlayerMarkerForPlayer" but is the square will be back in black. I do not want to totally disappear, or rather I do, but want to appear during the game and also make it disappear
Someone help me know?
Sorry for my bad inglish ...
Re: Show and hide player [In-Game] -
Krx17 - 02.02.2011
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
pawn Код:
stock HideNameTagForAll(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i))
{
SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00);
}
}
Re: Show and hide player [In-Game] -
DartakousLien - 02.02.2011
Quote:
Originally Posted by Krx17
|
yes I know
if we use the alpha to 00 becomes transparent, but get the black thing will turn, and who knows where is played
but thank you ...
Re: Show and hide player [In-Game] -
DartakousLien - 03.02.2011
Sorry for double post ... but ... help me please ....