Updating textdraw
#7

Bump..

Fixed, but when 2 players haves wanted it doesen't appear:
Name1 - Level 1
Name2 - Level 2, why?

pawn Код:
public WTI(i)
{
    if(gTeam[i] == 2 || IsACop(i))
    {
        new string[256];
        new sendername[MAX_PLAYER_NAME];
        for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
        {
            GetPlayerName(playerid,sendername,sizeof(sendername));
            if(WantedLevel[playerid] >= 1)
            {
                format(string, sizeof(string),"%s - Level %d", sendername, WantedLevel[playerid]);
                TextDrawShowForPlayer(i, WLevel[i]);
                TextDrawSetString(WLevel[i], string);
                TextDrawShowForPlayer(i, Wlist);
                return 1;
            }
        }
    }
    return 1;
}
What's wrong?
Reply


Messages In This Thread
Updating textdraw - by Razvann - 27.02.2010, 20:51
Re: Updating textdraw - by Correlli - 27.02.2010, 20:52
Re: Updating textdraw - by Razvann - 27.02.2010, 20:53
Re: Updating textdraw - by Correlli - 27.02.2010, 20:53
Re: Updating textdraw - by Razvann - 27.02.2010, 20:58
Re: Updating textdraw - by VonLeeuwen - 27.02.2010, 22:40
Re: Updating textdraw - by Razvann - 28.02.2010, 07:30

Forum Jump:


Users browsing this thread: 2 Guest(s)