Show and hide player [In-Game]
#1

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 ...
Reply
#2

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);
    }
}
Reply
#3

Quote:
Originally Posted by Krx17
Посмотреть сообщение
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);
    }
}
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 ...
Reply
#4

Sorry for double post ... but ... help me please ....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)