Making player's color blinking
#4

pawn Код:
SetTimerEx("Highlight", 2000, true, "i", playerid);

new changed[MAX_PLAYERS] = 0;
forward Highlight(playerid);
public Highlight(playerid)
{
    if(changed[playerid] == 0)
    {
        SetPlayerColor(playerid, 0xFF0000FF);
        changed[playerid] = 1;
    }
    else
    {
        SetPlayerColor(playerid, 0xFF9900FF);
        changed[playerid] = 0;
    }
}
It should be SetTimerEx(); My bad.
Reply


Messages In This Thread
Making player's color blinking - by xGoldenx - 22.12.2011, 15:52
Re: Making player's color blinking - by Tee - 22.12.2011, 15:54
Re: Making player's color blinking - by xGoldenx - 22.12.2011, 16:05
Re: Making player's color blinking - by Tee - 22.12.2011, 16:08
Re: Making player's color blinking - by wildcookie007 - 22.12.2011, 16:12
Re: Making player's color blinking - by xGoldenx - 22.12.2011, 16:16

Forum Jump:


Users browsing this thread: 2 Guest(s)