Textdraw Color Different for each player
#5

Quote:
Originally Posted by PrO.GameR
Посмотреть сообщение
You should change your textdraws to playertextdraws first, then change the color depending on what team they are in
You only require PlayerTextDraw when the strings are different else everything else can be done with Global.

OT:
Use TextDrawShowForPlayer after setting the color.
pawn Код:
if(PlayerInfo[playerid][pMember] < 1 || PlayerInfo[playerid][pLeader] < 1)
        {
        TextDrawColor(Textdraw0, COLOR_GREY);
        }
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
        {
        TextDrawColor(Textdraw0, 0x1732E8FF);
        }
    TextDrawShowForPlayer(playerid, Textdraw0);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)