Making player's color blinking
#1

Hi. I wanted to make some players color blinking using timer, but it doesn't work. It changes it to FF9900 and then stops...

pawn Код:
new Float:changed[9000];

forward Highlight(playerid);
public Highlight(playerid)
{
    if(changed[playerid]==0)
    {
    SetPlayerColor(playerid, 0xFF0000FF);
    changed[playerid]=1;
    }
   
    if (changed[playerid]==1)
    {
    SetPlayerColor(playerid, 0xFF9900FF);
    changed[playerid]=0;
    }

}

SetTimer("Highlight", 2000, true);
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: 3 Guest(s)