Visible and Invisible in Map
#1

Hello , i am beginner to Pawn . I want a code for visible and invisible in map . I mean if someone want to be invisible from map so he can by just /hide and if he again want to visible he can by /unhide. I will be grateful to you guyz if you help me .
THanks
Reply
#2

u can just change the colour code.. in the end of the code just put two 00 like 0xE60000FF to 0xE6000000
it will make player invisible in map just like this u can make a command too /hide
Reply
#3

Search in wikipedia and learn about 'SetPlayerMarkerForPlayer'
Reply
#4

pawn Код:
//Standard Looping
for(new i=0; i<MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00);
    }
}

//Foreach Looping
foreach(new i : Player)
{
    SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)