spec textdraw shows my own info
#6

or just edit this line
pawn Код:
//
    TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw44[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw7[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw8[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw9[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw10[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw111[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw5[playerid]);
    format(tdstring, sizeof(tdstring), "Name: %s", Name);
    TextDrawSetString(Textdraw0[id], tdstring);
    format(tdstring, sizeof(tdstring), "Health: %.0f", health);
    TextDrawSetString(Textdraw111[id], tdstring);
    format(tdstring, sizeof(tdstring), "Armor: %.0f", armour);
    TextDrawSetString(Textdraw2[id], tdstring);
    format(tdstring, sizeof(tdstring), "Ping: %d", png);
    TextDrawSetString(Textdraw3[id], tdstring);
    format(tdstring, sizeof(tdstring), "IP: %s", ip);
    TextDrawSetString(Textdraw5[id], tdstring);
    format(tdstring, sizeof(tdstring), "Money: $%i", GetPlayerMoney(id));
    TextDrawShowForPlayer(playerid, Textdraw6[playerid]);
    TextDrawSetString(Textdraw6[id], tdstring);
into
pawn Код:
//
    format(tdstring, sizeof(tdstring), "Name: %s", Name);
    TextDrawSetString(Textdraw0[id], tdstring);
    format(tdstring, sizeof(tdstring), "Health: %.0f", health);
    TextDrawSetString(Textdraw111[id], tdstring);
    format(tdstring, sizeof(tdstring), "Armor: %.0f", armour);
    TextDrawSetString(Textdraw2[id], tdstring);
    format(tdstring, sizeof(tdstring), "Ping: %d", png);
    TextDrawSetString(Textdraw3[id], tdstring);
    format(tdstring, sizeof(tdstring), "IP: %s", ip);
    TextDrawSetString(Textdraw5[id], tdstring);
    format(tdstring, sizeof(tdstring), "Money: $%i", GetPlayerMoney(id));
    TextDrawShowForPlayer(playerid, Textdraw6[id]);
    TextDrawSetString(Textdraw6[id], tdstring);
    TextDrawShowForPlayer(playerid, Textdraw3[id]);
    TextDrawShowForPlayer(playerid, Textdraw0[id]);
    TextDrawShowForPlayer(playerid, Textdraw44[id]);
    TextDrawShowForPlayer(playerid, Textdraw7[id]);
    TextDrawShowForPlayer(playerid, Textdraw8[id]);
    TextDrawShowForPlayer(playerid, Textdraw9[id]);
    TextDrawShowForPlayer(playerid, Textdraw10[id]);
    TextDrawShowForPlayer(playerid, Textdraw111[id]);
    TextDrawShowForPlayer(playerid, Textdraw2[id]);
    TextDrawShowForPlayer(playerid, Textdraw5[id]);
Reply


Messages In This Thread
spec textdraw shows my own info - by GwENiko - 14.06.2014, 21:00
Re: spec textdraw shows my own info - by GwENiko - 15.06.2014, 00:45
Re: spec textdraw shows my own info - by Laure - 15.06.2014, 00:52
Re: spec textdraw shows my own info - by GwENiko - 15.06.2014, 01:49
Re: spec textdraw shows my own info - by DavidBilla - 15.06.2014, 02:03
Re: spec textdraw shows my own info - by AiRaLoKa - 15.06.2014, 02:32
Re: spec textdraw shows my own info - by Threshold - 15.06.2014, 05:09

Forum Jump:


Users browsing this thread: 1 Guest(s)