Abit of help here...
#2

I hope this is what you mean:

At TOP:
pawn Код:
new IsRed[MAX_PLAYERS];
To OnPlayerText
pawn Код:
if (strcmp("/show", cmdtext, true, 10) == 0)
    {
        GameTextForPlayer(playerid,"~r~Lorenc",2000,3);
        SetTimerEx("Flashing",1000, 1, "d", playerid);
        IsRed[playerid]=1;
        return 1;
    }
At The Bottom of your script:
pawn Код:
forward Flashing(playerid);
public Flashing(playerid)
{
if(IsRed[playerid]==1)
    {
    GameTextForPlayer(playerid,"~p~Lorenc",2000,3);
    IsRed[playerid]=0;
    }
    else
    {
    GameTextForPlayer(playerid,"~r~Lorenc",2000,3);
    IsRed[playerid]=1;
    }
return 1;
}
Hope it works, cause i didnt test it.

I hope this helps you.

Jeffry
Reply


Messages In This Thread
Abit of help here... - by Lorenc_ - 22.03.2010, 10:58
Re: Abit of help here... - by Jeffry - 22.03.2010, 12:28
Re: Abit of help here... - by Lorenc_ - 23.03.2010, 08:42
Re: Abit of help here... - by Mike Garber - 23.03.2010, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)