(Help)Player color change.
#5

You can use ShowPlayerMarkers.

Click here to see it

Here is a code i just made:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/hide", cmdtext, true, 5) == 0)
    {
        ShowPlayerMarkers(0);
        return 1;
    }
    return 0;
}
Not Tested but it should work.

The reason i use strcmp is because it doesn't have params, so the player who type it would be hid on the map.
Reply


Messages In This Thread
(Help)Player color change. - by dor_b - 21.09.2010, 20:45
Re: (Help)Player color change. - by Mimic - 21.09.2010, 20:50
Re: (Help)Player color change. - by dor_b - 21.09.2010, 20:51
Re: (Help)Player color change. - by Kyeno - 21.09.2010, 21:33
Re: (Help)Player color change. - by zack3021 - 22.09.2010, 01:53

Forum Jump:


Users browsing this thread: 1 Guest(s)